Simple XPath Binding to an XmlDataSource Control

IDNameDeptPhone
2456
Mike
Sales
3867
1965
Nikita
Marketing
1442
4476
Aaron
Marketing
8267
0821
Chris
Accounts
2115
3419
Samantha
Sales
2581
Note that, in Beta 2, the XmlDataSource control does not support paging. Therefore the example you see here uses a GridView control to display the contents of the XML file without requiring paging to be enabled. The XML binding syntax is, however, identical to that used in the pre-Beta2 example.
[view source]     ©2004 Dave And Al, Stonebroom Limited, England.