473,385 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how can i upload image file to the xmlfile in Asp.net

1
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
Jan 19 '14 #1
1 1248
Frinavale
9,735 Expert Mod 8TB
I have never tried this myself but here are the steps that I would imagine would have to be done:
  1. Use an UploadControl to allow the user to select an image file and upload it to the server
  2. Do validation to ensure that it is an appropriate image type
  3. Retrieve the image uploaded to the server as a byte array
  4. 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)
Jan 20 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Martin | last post by:
Hi, I search for free script to enable function UPLOAD Images, Files to Webserver, and save in a directory. I have tried a free script, but it doesn't work. (http://www.freeaspupload.net), when...
1
by: Patsy | last post by:
Hi I'm using a third party software which captures image from a webcam and saves it to local harddisk. It also comes with a function to send the image file via HTTP encoded with...
15
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the...
3
by: wingleader | last post by:
Hi! Can someone help? I need to store image files in mysql database. Can you help with advice, how can it be done? I need a possibility to upload images, and that late it could be read as an image.
0
by: aris1234 | last post by:
hello.. How to upload image file in page update ..?? i have logic like this : if user upload new image then old image must delete and update DB used new name if user not upload new image then...
7
by: xx75vulcan | last post by:
Hi, I've got a PHP Upload Form that works great, unless that is, the image your uploading has been modified through a photo editing software. Example: if I upload the image straight from a...
3
by: premprakashbhati | last post by:
hi, good evening.. i am going to upload an image in a web form .....for that iam using HTML input(file) control and one web control button i.e., Upload_Button() here is the code ...its work fine...
2
by: sidhx | last post by:
how can i let image overwriting when uploading? and if uploading an image say "logo.jpg" and if a file already existing say "logo.png" then, how can i replace the file logo.png to logo.jpg(which has...
0
by: sharmashrayansh | last post by:
I am trying to upload a picture from the Pictures Library (on WP7) and save it in a folder on the server. On the server, I'm using PHP to receive the file using POST Method. The PHP Code is:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.