摘要:
赋值给System.Func<T,TResult> fun类型1,using System;delegate string ConvertMethod(string inString);public class DelegateExample{ public static void Main() { // Instantiate delegate to reference Upperc... 阅读全文
摘要:
Asp.net提供了三个功能强大的列表控件:DataGrid、DataList和Repeater控件,但其中只有DataGrid控件提供分页功能。相对DataGrid,DataList和Repeater控件具有更高的样式自定义性,所以很多时候我们喜欢使用DataList或Repeater控件来显示数据。1、写一个方法或存储过程,根据传入的页数返回需要显示的数据表(DataTable) 2、使用Pa... 阅读全文