Introduction:
Here
I will explain how to read data from xml file and bind xml data to dropdownlist or gridview in asp.net.
Description:
In previous articles I explained articles relating
to XML
some of those are read xml node values and bind data to gridview and how to insert
and read data from xml in asp.net. In
situation I
got requirement like read data from xml file and display it on webpage. My XML
File Name as “Sample.xml” and that would contains
data like this