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.