Archives

Storing images as BLOB in db in VB.Net

Private Sub UploadedFiles_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles UploadedFiles.DoubleClick ‘ ‘ Downloads the selected file and displays it in the picture box. ‘ ‘ ‘ Finds the unique id of the file. ‘ Dim drv As DataRowView = CType(UploadedFiles.SelectedItem, DataRowView) Dim selectedText As String = drv.Row(“Name”).ToString() Dim id As Long=-1 ‘ ‘ […]

Rate this:

Read More