Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Monday, May 21, 2012

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

User Rating!

Home > Search > Articles & Samples > ASP.Net > Server Controls > DataList Control
ASP.Net DataList Data Binding using XmlDataSource Dynamically        
Total Hits: 48  |  Today: 0 Author: programming.top54u.com       Rating:  
Read Reviews | Write Review | Your Rating: 

In ASP.Net 2.0 you can use XMLDataSource class that provides the base functionality of dynamic xml data web control to bind the xml data with DataList control dynamically using C# code. You can create an object of XMLDataSource class to allocate the memory for XML data retrieved from the DataSource. Then set the values for DataFile property and XPath property of XMLDataSource class object and bind the data object to DataList Control to render the XML data items on ASP.Net web page. For binding the XML data with DataList or any Data Control such as GridView or Repeater you have to use IXPathNavigable databinding syntax inside the ItemTemplate.

DevASP.Net users Rating
What is your opinion?
Is this your listing?

    If this is your listing and you like to add the rating box
    displayed on the right side on your site you can use the following code.

Go Back
DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net