GridView Examples for ASP.NET 2.0

本文详细介绍如何使用 Microsoft ASP.NET 2.0 中的 GridView 控件完成多种常见任务,包括数据访问、显示、分页、排序等,并提供了完整的示例代码供下载。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

Summary: This article illustrates how to accomplish a number of common tasks with the Microsoft ASP.NET 2.0 GridView control. Each task is accompanied by a description of the new concepts covered, and the complete working examples are available for download with this article. (122 printed pages)

Download the MSDNGridView sample in C#.

Download the MSDNGridView sample in Visual Basic.

Contents

Improvements in Data Access and Display

Accessing Data with the DataSource Controls

Formatting the GridView

Displaying Master/Detail Data in a GridView

Paging and Sorting the GridView's Data

Displaying Images in a GridView Column

Working with TemplateFields

Drilling Down into Detailed Data

Displaying Summary Data in the Footer

Deleting a GridView's Underlying Data

Editing the Underlying Data in a GridView

About the Author

Scott Mitchell, author of five books and founder of 4GuysFromRolla.com, has been working with Microsoft Web technologies for the past six years. Scott works as an independent consultant, trainer, and writer. He can be reached at mitchell@4guysfromrolla.com or via his blog, which can be found at http://ScottOnWriting.NET.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值