0

Hi,

I have a problem

I want to save the values in user controls(textboxes) to an XML file(If not to text file)
I want this to be done when client clicks on save data button


I want to read the values in XML file(If not to text file) to user controls(textboxes)
I want this to be done when client clicks on load data button

Can i do this with filedialog control(I checked but didnt find filedialog controls for webforms)?

Or is there any other options?

Please help
Thanks in advance

3
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by softwareskill
0

hi

You should use "asp:FileUpload" control
in asp.net 2.0 or ordinary input control with type file in asp.net 1.x insted of filedialog control

Regards
razool

0

HI,

use xmldocument object to load the xml file, then traverse into the the xmlnode and read the element value

Regards
razool

0

Hi,
I am not familiar with xml coding.
Can you provide me a small code to show how we can upload the xml file and read the file content to asp.net controls

thanks in advance

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.