BLOB Column

  • Thread starter Thread starter Raja Balaji R
  • Start date Start date
R

Raja Balaji R

hi

i have table
tablename : pictures
columns : img_id int
img_data image

i want to insert a picture file in img_data field

and

what is replacement for getchunk and putchunk method in
ado.net.

thanks & regards
Raja Balaji R
 
Set DataColumn' datatype as byte[] and stream the image into.
Accessing Data with ADO.NET
..net help topic has more info.
 
¤ hi
¤
¤ i have table
¤ tablename : pictures
¤ columns : img_id int
¤ img_data image
¤
¤ i want to insert a picture file in img_data field
¤
¤ and
¤
¤ what is replacement for getchunk and putchunk method in
¤ ado.net.

See the following MS KB article:

HOW TO: Read and Write a File to and from a BLOB Column by Using Chunking in ADO.NET and Visual
Basic .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;317034&Product=adonet


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
Back
Top