save GDI+ image into sql 2005 database

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2007
Posts: 24
Reputation: waterfall is an unknown quantity at this point 
Solved Threads: 0
waterfall waterfall is offline Offline
Newbie Poster

save GDI+ image into sql 2005 database

 
0
  #1
Jan 11th, 2008
how to save an image drawn with GDI+ to sql 2005 database?
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 436
Reputation: JerryShaw is on a distinguished road 
Solved Threads: 72
JerryShaw JerryShaw is offline Offline
Posting Pro in Training

Re: save GDI+ image into sql 2005 database

 
0
  #2
Jan 12th, 2008
SQL has the ability to store any type of data into a blob field. Just stream the data into the column. There are many examples on Code Project, and other sites on how to do this.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 24
Reputation: waterfall is an unknown quantity at this point 
Solved Threads: 0
waterfall waterfall is offline Offline
Newbie Poster

Re: save GDI+ image into sql 2005 database

 
0
  #3
Jan 13th, 2008
I found help for uploading images.
But i have drawn an image using GDI+ and i want to save that image.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 88
Reputation: blacklocist is an unknown quantity at this point 
Solved Threads: 2
blacklocist blacklocist is offline Offline
Junior Poster in Training

Re: save GDI+ image into sql 2005 database

 
0
  #4
Jan 18th, 2008
Simple, save the image as a picture format and then upload it to the sql server in a BLOB format.

While using GDI+ check this website you on how to save images.

http://www.devx.com/.net%20zone/Article/10031/0/page/5

Atleast this should get you going.
Forgive my spelling, I spell code not English.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C# Forum


Views: 3200 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC