![]() |
| ||
| Reading content of an xml file to asp.net 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 |
| ||
| Re: Reading content of an xml file to asp.net 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 |
| ||
| Re: Reading content of an xml file to asp.net HI, use xmldocument object to load the xml file, then traverse into the the xmlnode and read the element value Regards razool |
| ||
| Re: Reading content of an xml file to asp.net 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 |
| All times are GMT -4. The time now is 5:32 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC