---
title: "ASP.NET3.5中ListView控件使用文章介绍"
author: "longgue"
date: "2008-02-29T12:41:15Z"
tags: []
categories: ["编程语言"]
slug: "asp-net3-5-listview"
draft: false
lastmod: "2008-02-29T12:41:15Z"
id: 166102
url: "https://longgue.iteye.com/blog/166102"
---

ASP.NET3.5中新增了一个数据控件ListView,支持数据的增,删,改操作,提供了分组分页,排序等非常强大而且很灵活的功能;虽然是新的控件,我发现介绍其使用的文章也很多,可见.NET也是日益受到很多开发者的青睐.下面是一部分文章的链接,内容都很浅显易懂,可以做参考:

[ListView and DataPager in ASP.NET 3.5](http://www.west-wind.com/WebLog/posts/127340.aspx)

文章不长,但却很清楚明了地介绍了ViewList的基本使用,看完后应该能掌握其使用.

[The asp:ListView control (Part 1 - Building a Product Listing Page with Clean CSS UI)](http://weblogs.asp.net/scottgu/archive/2007/08/10/the-asp-listview-control-part-1-building-a-product-listing-page-with-clean-css-ui.aspx )

图文并茂,由浅入深地地讲解了ListView的使用,建议初学.net和ASP.NET的人士业余时间看.

[ListView控件(一)--增，删，改，查](http://www.cnblogs.com/chencaixia/archive/2007/12/10/989498.html)

这篇文章也不错,值得推荐,除了介绍CRUD操作外,还介绍了排序和分页的功能;还有使用ViewList时可能遇到"An item placeholder must be specified on ListView 'ListView1'. Specify an item placeholder by setting a control's ID property to "itemPlaceholder"."情况的原因.

[YUI DataTable Styled ListView](http://mattberseth.com/blog/2007/11/yui_datatable_styled_listview.html)

Yahoo的YUI现在已经发布了2.5版本,其中功能也日益完善;Matt Berseth在这篇文章中介绍了如何利用YUI的样式来给ListView的呈现增砖添瓦.

Sams出版社的新书"<span style="color:blue">ASP.NET 3.5 Unleashed</span>"第14章 "Using ListView and DataPager Controls"有很详细的关于ListView的使用.