Duration: 21 minutes
Summary: In this video (and in the new few videos) we will be digging deeper into the GridView details. We will create three grids here. The first grid will be a simple one, but illustrates how the fields with different types are being displayed (int, string, boolean). We will see that the grid knows to display a boolean value (bit in SQL Server) as a checkbox. In the second grid, we will display an empty one that will read its values during runtime from a list of names (using DataSource and DataBind properties). In the third grid, we will work with a master/detail example. The first grid will display all the product models. This grid will allow selection (by changing the background to yellow when a user selects a row). The detail row will display all the products associated with that selected product model.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, GridView, SqlDataSource, SelectCommand, DataSource, DataBind, AutoGenerateSelectButton, SelectedRowStyle, SelectParameters, ControlParameter, PropertyName.