The text of this article is not in this database — only its details are. Read it on the old site: Reading and writing BLOB in ADO.NET
8 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Reading and writing BLOB in ADO.NET
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
pavan soniPosted Mar 17, 2009, 11:53 PM
df
simon yongPosted Sep 18, 2008, 3:04 AM
Sir, Can you tell me what is the function of this: adapter.MissingSchemaAction = MissingSchemaAction.AddWithKey
Boris AroeditedPosted Feb 7, 2007, 3:45 AMEdited Feb 12, 2007, 7:34 AM
Hello! I work with VS2005. I have an Access Table, that has OLE Object as a field. The object may be a pointer to jpg, doc or xml file. Just in case jpg file I need to show it, in other case open it. I did next (not full code): Dim ms AsNew MemoryStream() Dim reader As OleDbDataReader = cmd.ExecuteReader(CommandBehavior.SequentialAccess ) reader.Read() retval = reader.GetBytes(0, 0, outbyte, 0, bufferSize) ms.Write(outbyte, 0, retval) ms.Seek(0, SeekOrigin.Begin) curImage = Image.FromStream(ms,False)----> error "Parameter is not valid." I do not see the fault. Please help