This walkthrough shows you how to set preview row in WebGrid.
During this walkthrough, you will learn how to do the following:
- Bind WebGrid using AccessDatasource.
- Set Preview Row Settings properties to allow preview row in WebGrid.
In order to complete this walkthrough, you will need the following:
- Visual Studio 2005/2008/2010 Application.
To create new web application and specify PreviewRow in WebGrid.
- Bind WebGrid
to AccessDataSource.
- Open WebGrid Designer.
- Go to Advanced tab, RootTable
- Check the Enable Preview Row checkbox.
- Check the Expandable property.
- Set DataMember to a column name you want set as
the preview row.
- Click OK to apply all settings.
- Compile and run the WebForm.