writing an binary file from sql to the disk with vb.net

  • Thread starter Thread starter Jack
  • Start date Start date
J

Jack

Hello,

I need to get a binary file from SQL and write it to the disk in VB.net.

Thank you for any help and your time!!

Thanks,

Jack
 
Jack said:
Hello,

I need to get a binary file from SQL and write it to the disk in VB.net.

Thank you for any help and your time!!

Thanks,

Jack

When you read the field from the database you get a byte array. Use the
File.WriteAllBytes method to write the array to a file.
 
Back
Top