Friday, May 29, 2009

How to read xml file in asp.net

This Article will see how we can read and XML file it our ASP.NET application using vb.net, this trick is use full for making custom configuration files for your application or just reading data stored in an xml file.

Here is an XML save as name "countries.xml":


-------Create xml file follow image below----------------------------



-------End of xml File-----------------------------------------------------------




---------Code Snap-shot-------------





Out Put: Radiobuttonlist will generate like displayed below :

India

America



Spain





No comments:

Post a Comment