Thanks in advance fo rany help... I have an XML data file (well-
formed) that I need to place into my website's app_data folder. I
would like to have an .aspx form on my site that simply has two
textboxes (corresponding to two XML fields in my file), and a
"submit"
button that will update the file. Any clues as to the code to use?
I'm most familiar with the DataAdapter/DataSet model and using
SQLserver files and having an INSERT INTO query to update. Can this
be
used on an XML file also? There may be better ways, but just curious
if this model COULD work with XML.
Thanks!
On Jun 5, 9:31 pm, slinky <campbellbrian2
@yahoo.com> wrote:
> Thanks in advance fo rany help... I have an XML data file (well-
> formed) that I need to place into my website's app_data folder. I
> would like to have an .aspx form on my site that simply has two
> textboxes (corresponding to two XML fields in my file), and a
> "submit"
> button that will update the file. Any clues as to the code to use?
> I'm most familiar with the DataAdapter/DataSet model and using
> SQLserver files and having an INSERT INTO query to update. Can this
> be
> used on an XML file also? There may be better ways, but just curious
> if this model COULD work with XML.
> Thanks!
Dim myDataSet as New DataSet()
myDataSet.ReadXml(Server.MapPath("books.xml"))
http://aspnet.4guysfromrolla.com/articles/052902-1.aspx
http://www.google.com/search?hl=en&q=DataSet+xml+asp.net