Introduction
In these articles, we will learn how to read XML file and bind XML data to gridview in asp.net using c#, vb.net or read and bind data to gridview from XML file in asp.net using c#, vb.net.
In this example, I got requirements like reading data from an XML file and display it on the web page. the XML File Name as “simple.xml” and that would contain data like this
simple.xml Data:-
Asp.net Design:
Add below asp.net c# code in code behind file:
Add below asp.net vb.net code in code behind file:
Output:-
Post A Comment:
0 comments: