Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Loading the XMLDataSource.Data property from an SqlDataSource

Thread Tools

Loading the XMLDataSource.Data property from an SqlDataSource

Posts: n/a
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.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use function in ConnectionString property in SQLDataSource Webcontrol ? Radu ASP .Net 5 06-04-2007 09:00 PM
SqlDataSource not loading on page load David Lozzi ASP .Net 1 05-04-2007 03:02 PM
SqlDataSource: Changing SelectCommand property before processed Martin ASP .Net Web Controls 1 03-28-2007 10:04 AM
[OT] Is loading the second Java application faster than loading the first? David Segall Java 2 01-02-2007 04:41 PM
feeding a SQLDataSource embedded in an .ascx user control a custom property assigned to that control ASP .Net 4 07-16-2006 12:20 PM