Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


VB.NET & MySQL Insert Blob data

rezbaitrezbait Member Posts: 2
Following coding will help you to insert picture from VB.NET to MySql BLOB field. Coding is very simple.

Imports System.IO 'Write this coding before Class declaretion.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

Dim cmd As New Odbc.OdbcCommand
Dim SQL As String
Dim rawData() As Byte
Dim fs As FileStream
Dim sPath As String

[link=]Full Code[/link]
Sign In or Register to comment.