<Employees>
<Employee>
<Id>100</Id>
<Name>arun</Name>
<Dept>Electrical</Dept>
<dtdate>12-05-2010 </dtdate>
</Employee>
<Employee>
<Id>101</Id>
<Name>Aji</Name>
<Dept>Computer</Dept>
<dtdate>13-05-2010 </dtdate>
</Employee>
<Employee>
<Id>102</Id>
<Name>Kiran</Name>
<Dept>civil</Dept>
<dtdate>14-05-2010 </dtdate>
</Employee>
</Employees>
Hi, Friends i want to display the record of employee with Name="Kiran" in a gridview.
how it is possible.
.
Iam trying this method
DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath("Employee.xml"));
foreach (DataRow dr in ds.Tables[0].Select("Name='Kiran'"))
{
GridView1.DataSource = ?;
GridView1.DataBind();
}
do u have any idea
Baiju