Intersoft WebGrid Documentation
Walkthrough: Configuring client-binding using ServerDataSource mode
See Also Send comments on this topic.

Glossary Item Box

This walkthrough shows you how to configure updatable WebGrid bound to ServerDataSource.

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

 Prerequisites

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

  • Access to the Microsoft Access Northwind database.
  • Visual Studio 2008 Application.

 Step-By-Step Instructions

To configure client binding using ServerDataSource mode

  1. Launch Visual Studio.NET 2008.
  2. Click on File menu, then select New and click Web Site.
  3. Select ASP.NET Web Site in the Template box and set Location to HTTP.
  4. Named the Web Site and click OK.
  5. Right-click on Project's name and select Add New Item.
  6. Select Intersoft AppForm in the My Templates box and named it as Walkthrough.aspx.
  7. Drag WebGrid and ISDataSource instances from ToolBar into WebForm.
  8. Click the SmartTag on the upper right of the ISDataSource and click Configure Data Source...



  9. Specifies the Schema Type and Schema Name that represent ISDataSource, and then click Next.



  10. Add TableName that represents ISDataSource, and choose Select, Update, Insert, and Delete for every table, and then press Finish.



  11. Set Data Source ID property from WebGrid's smart tag.



  12. Select a table view that will display as root table in WebGrid. And then select an action Retrieve Structure or if you use Hierarchical data structure you can choose Retrieve Hierarchical Structure.



  13. Choose WebGrid Designer link on WebGrid's smart tag to open WebGrid Designer.
  14. Choose Data Source (Advance) link on Quick Start and choose Client-side Binding (Advance) for data binding operation.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.