Dim filepath As String = "d:/" filepath = filepath + Now.Second.ToString() & ".BMP" Dim fs As New FileStream(filepath, FileMode.Create, FileAccess.ReadWrite) Dim blob As Byte() = CType(dt.Rows(0).Item(0), Byte()) fs.Write(blob, 0, blob.Length) fs.Close()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)