List:MySQL and .NET« Previous MessageNext Message »
From:Reggie Burnett Date:December 10 2004 4:21pm
Subject:RE: How do I insert into a BLOB?
View as plain text  
Unfortunately right now the only source that can be used to feed binary data
to a blob is a byte array.  This will change in the future when we'll
support stream types.

-reggie

> -----Original Message-----
> From: Seth VanHeulen [mailto:svanheulen@stripped]
> Sent: Wednesday, November 24, 2004 10:20 AM
> To: dotnet@stripped
> Subject: How do I insert into a BLOB?
> 
> I need to store some exe's in my database and i've seen some examples
> on this mailing list of how to insert stuff into a BLOB using
> parameters but every single one is missing the dim statement for
> whatever is being put into the BLOB... does it need to be a filestream
> or binaryreader or what? I've also seen it done by reading the whole
> file into an array first but I can't really do that because the files
> might be quite large.
> 
> --
> MySQL on .NET Mailing List
> For list archives: http://lists.mysql.com/dotnet
> To unsubscribe:    http://lists.mysql.com/dotnet?unsub=1

Thread
How do I insert into a BLOB?Seth VanHeulen24 Nov
  • RE: How do I insert into a BLOB?Reggie Burnett10 Dec