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.
> -----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