Microsoft Visual C
GridViews - handling events exercise
Relatively easy

This Microsoft Visual C# GRIDVIEWS - HANDLING EVENTS exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl ASP.NET 2.0 USING C# course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Exercise: Gfidview events - football

A full answer to this exercise is provided as part of the training course!

1) Download the files needed to start this exercise: exercise-790.zip
2) Using the football teams database (either the one in the folder above or the one you've already added into your project), create a form containing a gridview of teams:
Exercise screen-shot 1639 This gridview lists out all of the records in the Teams table
3) By intercepting the RowDataBound event of the gridview, add conditional formatting such that all non-premier-division teams are coloured differently:
Exercise screen-shot 1640 The result of our change, for this set of data and using the colour Coral
4) Save and close down any files that you may have open.

Thank you for showing an interest in this ASP.NET 2.0 using C# training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.

All content copyright Wise Owl Business Solutions Ltd.  All rights reserved.  Design by Branches.