This Microsoft ASP.NET 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-793.zip (and click here if you experience any problems unzipping this file after downloading it). |
| 2) | Either add the football database in the above folder into your current web site, or use the one that is already there. |
| 3) | Create a form showing the teams in the database: |
The view button image comes from a file in the folder above
|
|
| 4) | Either by creating a separate form and passing the CommandArgument team id in a query string, or by hiding a panel on this form and displaying a different one, get your system to display a team's details when a user clicks on a view button: |
Clicking on the button next to Liverpool displays this DetailsView, for example
|
|
| 5) | Save and close any open files. |
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