lamhuy300890
New member
- Joined
- May 31, 2010
- Messages
- 1
- Programming Experience
- Beginner
This is my XML file :
I would like to display the details (include EMPNAME, ADDRESS, PHONENUMBER) of the empoyee whose name is Alex in a DataGrid .
Thankyou.
VB.NET:
<?xml version="1.0" encoding="UTF-8"?>
<EMPLOYEES>
<EMPLOYEE>
<EMPNAME>Peter</EMPNAME>
<ADDRESS>123 DTH</ADDRESS>
<PHONENUMBER>0123456789</PHONENUMBER>
</EMPLOYEE>
<EMPLOYEE>
<EMPNAME>Alex</EMPNAME>
<ADDRESS>202 VTS</ADDRESS>
<PHONENUMBER>988745612</PHONENUMBER>
</EMPLOYEE>
<EMPLOYEE>
<EMPNAME>Sam</EMPNAME>
<ADDRESS>146 BD</ADDRESS>
<PHONENUMBER>245678982</PHONENUMBER>
</EMPLOYEE>
</EMPLOYEES>
I would like to display the details (include EMPNAME, ADDRESS, PHONENUMBER) of the empoyee whose name is Alex in a DataGrid .
Thankyou.