This Microsoft Visual Basic GRIDVIEWS - HANDLING EVENTS exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl ASP.NET 2.0 USING VB course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
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 (and click here if you experience any problems unzipping this file after downloading it). | ||
| 2) | Using the database in the above folder, create a form called frmIngredient.aspx which shows all of the ingredients in the qryIngredient query: | ||
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: | ||
Here the order of the columns has been changed solely to fit the diagram onto the page
|
|||
|
|||
Thank you for showing an interest in this ASP.NET 2.0 using VB 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.
Recommended sites: C# corner | Computer tutorials | Training classes