i want to upload images to the xml file and view in slide show but i can't any one who nows can help me
how can i upload image file to the xmlfile in Asp.net
Collapse
X
-
I have never tried this myself but here are the steps that I would imagine would have to be done:- Use an UploadControl to allow the user to select an image file and upload it to the server
- Do validation to ensure that it is an appropriate image type
- Retrieve the image uploaded to the server as a byte array
- Write that byte array into the XML file, in a node that is valid for the file (using the classes in the System.XML namespace to help with this process)
Comment