文件名称:翻页控件 For C#.Net 2.0
文件大小:10KB
文件格式:CS
更新时间:2011-02-19 05:28:14
c# 控件 翻页
相当牛X的翻页控件,直接可放左侧工具中,拖拽到页面即可.配置几行代码就搞定.
http://www.cnber.com/images/tu01.jpg
http://www.cnber.com/images/tu02.jpg
----------------------------------------
gvShiftInfo.PageSize = 20;
gvShiftInfo.DataSource = dtShiftItem;
gvShiftInfo.DataBind();
//分页
NavigationBar1.PageSize = gvShiftInfo.PageSize;
NavigationBar1.PageNo = gvShiftInfo.PageIndex + 1;
NavigationBar1.TotalRows = dtShiftItem.Rows.Count;
NavigationBar1.DataBind();
----------------------------------------