DataSource, XML file

Discussion in 'ASP .Net' started by szabelin, Aug 11, 2003.

  1. szabelin

    szabelin Guest

    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
     
    szabelin, Aug 11, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tarun Jain
    Replies:
    3
    Views:
    423
    Tarun Jain
    Dec 2, 2003
  2. Sky
    Replies:
    5
    Views:
    542
  3. =?iso-8859-1?Q?=BF_Mahesh_Kumar?=

    XML FILE as datasource to Grid view..? not able to remove the nodes..?

    =?iso-8859-1?Q?=BF_Mahesh_Kumar?=, Oct 14, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    532
    =?iso-8859-1?Q?=BF_Mahesh_Kumar?=
    Oct 14, 2005
  4. jkflens
    Replies:
    2
    Views:
    1,546
    jkflens
    May 30, 2006
  5. Erik Wasser
    Replies:
    5
    Views:
    527
    Peter J. Holzer
    Mar 5, 2006
Loading...

Share This Page