XML Object as DataSource ASP.NET with VB.Net?

G

Guest

I want to create an XML object that can then be used as a data source on the
same page. How can I create the XML object to then bind to a control? I need
this all to be done without loading an external XML document. I want to build
the XML on the same page that will have the control on it. I assume it can be
done. I am just not sure how to do it. I appreciate any help.
 
M

Martin Honnen

Daniel said:
I want to create an XML object that can then be used as a data source on the
same page. How can I create the XML object to then bind to a control? I need
this all to be done without loading an external XML document. I want to build
the XML on the same page that will have the control on it. I assume it can be
done. I am just not sure how to do it. I appreciate any help.

Are you using .NET 1.x or 2.0? .NET 2.0 has an XmlDataSource with a Data
property that takes a string with the XML markup.
 
G

Guest

I am using 2.0. I will have to look at that.
Martin Honnen said:
Are you using .NET 1.x or 2.0? .NET 2.0 has an XmlDataSource with a Data
property that takes a string with the XML markup.
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top