asp.net listview一行显示多条数据

<%@ Page language="C#" %>

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



ListView GroupItemCount Example



ListView GroupItemCount Example

Number of columns:
AutoPostBack="true"
runat="server"
OnSelectedIndexChanged="GroupItemCountList_SelectedIndexChanged"
>
1
2
3
4






DataSourceID="ContactsDataSource"
GroupItemCount="2"
runat="server">






ShowFirstPageButton="true" ShowLastPageButton="true"
FirstPageText="|<< " LastPageText=" >>|"
NextPageText=" > " PreviousPageText=" < " />




















 





ConnectionString="<%$ ConnectionStrings:AdventureWorks_DataConnectionString %>"
SelectCommand="SELECT [ContactID], [FirstName], [LastName] FROM Person.Contact">



转载于:https://www.cnblogs.com/wuzhuo/archive/2012/05/07/2486868.html

你可能感兴趣的:(asp.net listview一行显示多条数据)