Custom Formatting Based Upon Data: Step 8- Programmatically Determining the Value of the Data in the RowDataBound Event Handler

Custom Formatting Based Upon Data:
Step 8- Programmatically Determining the Value of the Data in the RowDataBound Event Handler

This VIDEO TUTORIAL(included in Step 7) will further extend the previous step by creating a RowDataBound event handler for the HighlightCheapProducts GridView data web control on the CustomColors.aspx webpage. In the event handler, custom code is written to retrieve the product row instance from the GridView’s DataItem property by making sure that it is a DataRow. Once a reference has been obtained for a data row instance, the UnitPrice column in the row instance is verified to make sure that it is not null and also the unit price is less than or equal to $10.00.For detailed information and source code for this step, please refer to the original article.


 

This video presentation is available ONLY for REGISTERED users of this web site due to significant costs associated with data transfer of multimedia content.  Please register to view this video. Registration is FREE of charge and takes less than a minute to complete. Thanks for your consideration.

---Administrator


Copyright 2007-2011 by dotnetvideos.net   |  Privacy Statement  |  Terms of Use