DataSource, XML file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • szabelin

    #1

    DataSource, XML file

    Hello - I need to populate myDataGrid.Data Source with the
    contents of a node of an XmlDocument. So everything I've
    seen so far has been: writing xml conents to a stream
    (physical file), and then reading the stream into DataSet,
    and setting DataSet object to DataSource property of
    DataGrid.

    Now my question is whether there is a better way to do
    this in ASP.NET environment, i.e. w/o having to create a
    temp file since I already have a loaded XmlNodeList in
    memory.

    If I do have to create a temp file, is there a preferred
    way to do this in asp.net (or existing facility to deal
    with temp files in asp.net)

    Thanks!
    s


Working...