|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Data Type 'Image' is missing from the development environment forPlease disregard my previous post for the same problem.
the posting was incomplete. I'm trying to update the data in a DataGridView control. The underlying data are from SQL Server CE database. There is an image field in the DataGridView control when U give the save command, I get the following message. "@p5 : Byte array truncation to a length of 8000." Parameter corresponds to the image field. In the parameter, it is displayed as a Binary. However, I cannot see the type 'Image' in the list of data types. -- test rkbnair,
I thought that I wrote you that an image is a byte() in VB or a byte[] in C# allready long ago. Cor I'm writing this again because that is not true. When I choose bytes(), it
says it cannot convert type image to byte. -- Show quotetest "Cor Ligthert[MVP]" wrote: > rkbnair, > > I thought that I wrote you that an image is a byte() in VB or a byte[] in C# > allready long ago. > > Cor > rkbNair,
That is true, you have to stream it, in the best way using the memorystream. See one of the samples on our website. http://www.vb-tips.com/DataSetImage.aspx We have more about database and images. Cor |
|||||||||||||||||||||||