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

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
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.
 
Back
Top