Sams Teach Yourself ASP.NET in 21 Days, Second Edition By Chris Payne
Table of Contents
Day 9. Using Databases with ASP.NET
This workshop will help reinforce the concepts covered in today's lesson. Answers can be found in Appendix A.
Quiz
1:
What namespaces must you import to use data mechanisms in your ASP.NET pages?
2:
True or False: The DataSet can contain multiple tables.
3:
What are the three collections of the DataSet, and what do they do?
4:
What is the syntax for data-binding expressions?
5:
Does the DataList control support paging?
6:
What are the two properties of a DataGrid that you must specify to turn on sorting and paging, respectively?
Exercises
[click here]
Enhance the planner application from exercise 2 in Day 6 to use data binding. Bind the DayLabel to the Calendar's selectedDate, and format it properly.