Loading the XMLDataSource.Data property from an SqlDataSource

Discussion in 'ASP .Net Web Controls' started by LaHorn2, Jun 12, 2006.

  1. LaHorn2

    LaHorn2 Guest

    I am creating the dynamic hieratical input needed for a tree control using an
    SQLServer 2000 stored procedure with the For XML Explicit attribute. The data
    is being generated as intended. I have also created a SqlDataSource which is
    retrieving the data correctly.

    I would like to find the simplest way to load the data from the
    SqlDataSource into the Data property of an XMLDataSource control, since the
    tree control can be bound to the XMLDataSource.

    I would like to avoid creating an XML file. I am working in C# to build a
    web app.
    LaHorn2, Jun 12, 2006
    #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. Thor W Hammer

    XmlDataSource: How to render HTML data?

    Thor W Hammer, Nov 10, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,551
    S. Justin Gengo
    Jan 6, 2006
  2. =?Utf-8?B?U2xlYXp5?=

    XmlDataSource and embeded HTML within your XML data

    =?Utf-8?B?U2xlYXp5?=, Jun 16, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    351
    Walter Wang [MSFT]
    Jun 21, 2006
  3. Charlie@CBFC

    XmlDataSource: Problems with Data property

    Charlie@CBFC, Dec 14, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    297
    Charlie@CBFC
    Dec 14, 2006
  4. Charlie@CBFC
    Replies:
    0
    Views:
    706
    Charlie@CBFC
    Dec 14, 2006
  5. =?ISO-8859-1?Q?Arint=E9?=

    XmlDataSource and viewing data

    =?ISO-8859-1?Q?Arint=E9?=, Oct 22, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    321
    Arinté
    Oct 23, 2007
Loading...

Share This Page