DataSource, XML file

S

szabelin

Hello - I need to populate myDataGrid.DataSource 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top