Miha
Mon Jul 26 12:26:47 CDT 2004
Hi Roy,
Check out this article:
How To Read and Write BLOB Data by Using ADO.NET with Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;309158&Product=adonet
There are also some variations (vb.net, etc)
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
"Roy Chastain" <roy@kmsys.com> wrote in message
news:vmdag0tdpoh2fm23rg1r5m5r4bro3g9a6c@4ax.com...
> I am really somewhat of a newbie in this area. Can you give me an
example?
>
> Thanks
>
> On Mon, 26 Jul 2004 16:51:39 +0100, Jon Skeet [C# MVP] <skeet@pobox.com>
wrote:
>
> >Roy Chastain <roy@kmsys.com> wrote:
> >> Again thanks. I am down to one problem, I hope.
> >>
> >> Once I update the in memory copy of the SqlBinary object, how do I
> >> get that back to the database. I wanted to do an Update command
> >> through ExecuteNonQuery, but I am not sure how to represent the data.
> >> I don't think I really want to convert a 6000 bit value into a string
> >> for the update command.
> >
> >Just use an update command with a parameter, and set the value of the
> >parameter to the byte array you want to upload.
> >
> >> Do I need to use a DataSet?
> >
> >No.
>
> -------------------------------------------
> Roy Chastain
> KMSystems, Inc.