|
-
May 3rd, 2007, 11:06 PM
#1
Thread Starter
Lively Member
[02/03] show,add,update and delete image from database
HI all. how can i show, add, update and delete image from database? many thank for your help.
-
May 3rd, 2007, 11:21 PM
#2
Re: [02/03] show,add,update and delete image from database
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.
-
May 3rd, 2007, 11:48 PM
#3
Thread Starter
Lively Member
Re: [02/03] show,add,update and delete image from database
i admired you, you are so good in vb.net, you help me alot. thank for your help.
-
May 4th, 2007, 03:54 AM
#4
Thread Starter
Lively Member
Re: [02/03] show,add,update and delete image from database
I want to set field picture in database to null. how can i do that?
-
May 4th, 2007, 08:49 PM
#5
Re: [02/03] show,add,update and delete image from database
Regardless of the data type of the column, you assign DBNull.Value to the field in a .NET app to set it to null.
-
May 8th, 2007, 08:55 PM
#6
Thread Starter
Lively Member
Re: [02/03] show,add,update and delete image from database
sir, could u tell me how to save datatable with image field to database please? could you give sample of code please?
-
May 8th, 2007, 09:05 PM
#7
Re: [02/03] show,add,update and delete image from database
I searched MSDN for save image database and this was one of the top results.
-
May 8th, 2007, 10:05 PM
#8
Thread Starter
Lively Member
Re: [02/03] show,add,update and delete image from database
many thank for your help. but anyway I want to save datatable with field image to database. more please?
-
May 8th, 2007, 10:06 PM
#9
Thread Starter
Lively Member
Re: [02/03] show,add,update and delete image from database
many thank for your help. but anyway I want to save datatable with field image to database. it is possible or not, more please?
-
May 8th, 2007, 10:43 PM
#10
Re: [02/03] show,add,update and delete image from database
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|