Problem resolved!!!
Im not sure if anyone out there was familiar with the infrigistics webgrid..but I think I finally resolved my problem by editing one line
cells(0).value needed to be simply
cells(1).value
now I'm getting the proper value.
sorry about earlier not posting the code.
the code:
Private Sub DownloadFile(ByVal fname As String, ByVal forceDownload As Boolean)
Dim cmd As New SqlCommand
Dim conn As New SqlConnection
Dim dr As SqlDataReader
Dim sSql As String
sSql = "Select pathtofile from Jobs Where pathtofile = '" & Session("filename") & "'"
Try
If conn.State...
I have the path to the file stored in my sql database. Now I want to download that file(.jpg,.doc. etc) from the database and open a download dialog window...does anyone have a way to do this in the simplest form.:confused:
ok i made some progress but i'm not getting the right path to the file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.