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.
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 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.
Tasks
How-to: Retrieve Preview Row's text
Concepts
Preview Row
References
DataMember Property
Expandable Property
PreviewRowSettings Class
Other Resources
Walkthrough Topics
How-to Topics