How to save image binary value to text or xml file.

  • Thread starter Thread starter Bassem
  • Start date Start date
B

Bassem

Hi all

I saved my imaged in SQL 2000 server database and now I want to get
the values of the columns to text or xml file. The field I didn't
could get it to the text file is the Image column (binary array
value).

Is there any solution to be able to save the binary array to a text or
xml file?

Thanks,
 
You can write base64 encoded data to an XML file using
XmlTextWriter.WriteBase64

--
Bob Powell [MVP]
Visual C#, System.Drawing

All you ever wanted to know about ListView custom drawing is in Well Formed.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*

The GDI+ FAQ: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://royo.is-a-geek.com/siteFeeder/GetFeed.aspx?FeedId=41

*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top