Duration: 21 minutes
Summary: In this video, we continue our discussion of the GridView by talking about the events that the grid handles. There are many kinds of events at the grid level and at the row level. One of the interesting events we are evaluating here is the DataRowBound. As the name implies, this event triggers when a row is bound to the data source. In the first attempt we will highlight some rows that match a criterion. In the second attempt, we will display a templated field in the footer. This field will display the total for that column.
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, ConnectionString, SelectCommand, RowDataBound, GridViewRowEventArgs, DataControlRowType, DataBinder, RowType, ShowFooter, AutoGenerateColumns, ItemTemplate, FooterTemplate, Footer, Label.