Conversion from http://www.cnblogs.com/eddie005/archive/2006/08/01/WorkingWithData_ASPNET2.html)
There are a total of 46 articles in this tutorial. Some netizens who have contributed to the translation of these tutorials can click the following directory to go to their respective blogs;
I have translated only a few of them. If you have any mistakes, please note that the Chinese version of Directory Index is listed here for your convenience.
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 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