Intersoft WebGrid Documentation
How-to: Display Self-Referencing Hierarchical Data
See Also Send comments on this topic.

Glossary Item Box

WebGrid is capable to bind Self-Reference with hierarchical data.

In this topic, you will learn how to display Self-Referencing Hierarchical data.

To display Self-Referencing Hierarchical data

  1. Bind WebGrid to Hierarchical ISDataSource. (Bind Employees, Orders, and Orders Details table)
  2. Open WebGrid.NET Designer and go to Advanced tab.
  3. Select RootTable and Scroll down to Self Referencing section.
  4. Select Enable Self Referencing. Set Child Data Member to ReportsTo, Parent Data Member to EmployeeID and Expand Column Member to FirstName.
  5. Run the project.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.