Intersoft WebGrid Documentation
Walkthrough: Creating Self Reference WebGrid
See Also Send comments on this topic.

Glossary Item Box

This walkthrough shows you how to create Self Reference in WebGrid.

During this walkthrough, you will learn how to do the following:

 Prerequisites

In order to complete this walkthrough, you will need the following:

  • Visual Studio 2005/2008/2010 Application.

 Step-By-Step Instructions

To create new web application and specify Self Reference in WebGrid.

  1. Bind WebGrid to AccessDataSource. 
  2. Open WebGrid.NET Designer.
  3. Go to Advanced tab and select RootTable.
  4. Check the Enable Self Referencing checkbox.
  5. Set Child Data Member to ReportsTo.
  6. Set Parent Data Member to EmployeeID.
  7. Set Expand Column Member to FirstName.

    SelfRefDesigner

  8. Click OK to close the window and run the application.

    SelfRef

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.