Saturday, May 22, 2010

How to save image in xml file in c#.net.Plz immediate help me.?

Go through the Following Articles:


1%26gt;http://www.codeproject.com/csharp/cardfi...





2%26gt; http://www.developerfusion.co.uk/show/46...





They might be of Help to You.

How to save image in xml file in c#.net.Plz immediate help me.?
XML files cannot contain images. These files can only contain text. Actually XML files are used to communicate with the server.
Reply:You may be better off looking to save the url of the image file rather than the image file itself.





If you must save the image file in the XML then you need to use CDATA





A CDATA section starts with "%26lt;![CDATA[" and ends with "]]%26gt;":
Reply:Convert it Image Binary data to string using base64 and insert it into XML file


No comments:

Post a Comment