Microsoft Visual C
GridViews - handling events exercise
Average difficulty

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: Recipe gridview with dropdowns

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

1) Download the files needed to start this exercise: exercise-792.zip
2) Using the database in the above folder, create a form called frmIngredient.aspx which shows all of the ingredients in the qryIngredient query:
Exercise screen-shot 1641 The AutoGenerateEditButton property is set to True - hence the Edit button
3) Add template columns, dropdownlists and data sources to your gridview to make it editable:
Exercise screen-shot 1642 Here the order of the columns has been changed solely to fit the diagram onto the page
Training exercise hint Save and close down any files that you 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.