
how to put a file into a sql image field
Hi,
What is the method for storing a file on my hard disk(say c:\samplefile.doc)
into an image SQL 2000 field, using VB.net
I figure somehow I have to get the file into a string(?) in my vb.net
somehow, and then just do an insert statement into the table.
is that basiclly the correct way ?
See if the following helps:
HOW TO: Read and Write a File to and from a BLOB Column by Using ADO.NET and Visual Basic .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;316887
Microsoft MVP (Visual Basic)