We strongly recommend this excellent ASP. net2.0 getting started tutorial, which is easy to understand!
1. Original English version
Original article:Http://www.asp.net/learn/data-access? Lang = cs
Welcome to a series of tutorials that will consume e techniques for implementing these common data access patterns in ASP. NET 2.0. these tutorials are geared to be concise and provide step-by-step instructions with plenty of screen shots to walk you through the process already ally. each tutorial is available in Visual Basic and Visual C # versions and includes a download of the complete code used.
About the author
Scott Mitchell, author of seven ASP/asp. net books and founder of 4guysfromrolla.com, has been working with Microsoft Web technologies since 1998. scott works as an independent consultant, trainer, and writer. his latest book isSams Teach Yourself ASP. NET 2.0 in 24 Hours. He can be reached at mitchell@4GuysFromRolla.com. Or via his blog, which can be found at http://ScottOnWriting.NET.
2. Chinese Versions Translated by enthusiastic netizens
Very good translation: http://www.cnblogs.com/lovecherry/archive/2006/07/02/440840.aspx
Introduction
- Create a data access layer
- Create a business logic layer
- Dashboard page and site navigation
Basic Report
- Use ObjectDataSource to display data
- Declare Parameters
- Program to set the parameter value of ObjectDataSource
Master/Slave
- Master/Slave reports filtered by DropDownList
- Master/Slave reports filtered by two dropdownlists
- Cross-page Master/Slave report
- Master/Slave reports implemented using GridView and DetailView
Custom formatting
- Data-based custom formatting
- Use TemplateField in the GridView Control
- Use TemplateField in the DetailsView Control
- Use FormView templates
- Display statistics in the footer of the GridView
Edit insert and delete data
- Overview insert, update, and delete data
- Study the associated events of insertion, update, and deletion
- Handle BLL/DAL layer exceptions on the ASP. NET page
- Add verification controls to the edit and Add Interfaces
- Custom data modification page
- Implement Open concurrency
- Add client confirmation for data deletion
- Modify data based on user restrictions
Paging and sorting
- Paging and sorting report data
- Increase paging efficiency when there is a large amount of data
- Sort custom paging data
- Create a user interface for custom sorting
Custom button Behavior
Use DataList and Repeater to display data
- Use DataList and Repeater to display data
- Format data of DataList and Repeater
- Use DataList to display multiple records in one row
- Data Control nesting
Use DataList and Repeater to filter data
- Master/Slave reports filtered by DropDownList
- Cross-page Master/Slave report
- Master/Slave reports implemented using Repeater and DataList
Use DataList to edit and delete data
- To sum up, edit and delete data in DataList.
- Batch update
- Handle BLL and DAL exceptions
- Add verification controls on the edit and insert Interfaces
- Custom DataList editing interface
- Implement Open concurrency
- Add client confirmation for data deletion
- Modify data based on user restrictions
Paging and sorting of DataList and Repeater
- DataList and Repeater data Paging
- DataList and Repeater data sorting (1)
- DataList and Repeater data sorting (2)
- DataList and Repeater data sorting (3)
Custom button actions of DataList and Repeater
- Custom buttons in DataList and Repeater