HI all. how can i show, add, update and delete image from database? many thank for your help.
Printable View
HI all. how can i show, add, update and delete image from database? many thank for your help.
There are examples on MSDN and there are examples posted on the forum. I know this because I've posted at least one myself. Images are assigned to, and returned from, database fields as Byte arrays. To convert between Image objects and Byte arrays you use a MemoryStream. Search the forum for memorystream and my user name and you'll find at least code one example.
i admired you, you are so good in vb.net, you help me alot. thank for your help.
I want to set field picture in database to null. how can i do that?
Regardless of the data type of the column, you assign DBNull.Value to the field in a .NET app to set it to null.
sir, could u tell me how to save datatable with image field to database please? could you give sample of code please?
I searched MSDN for save image database and this was one of the top results.
many thank for your help. but anyway I want to save datatable with field image to database. more please?
many thank for your help. but anyway I want to save datatable with field image to database. it is possible or not, more please?
You said you wanted a code example. I provided a link to a page that provides a code example. Have you read that page? If you would like me to write the code for you myself then it will cost you AU$150/hour.