_currentPage = 1;
else
_currentPage = value;
}
get
{
return _currentPage;
[DefaultValue(1),Category("Customer")]
public int AllCount
return _allCount;
set
if(_allCount < 0)
throw new Exception("记录总条数不能为负数");
_allCount = value;
public int Pages//总页数
if(this._allCount % this._count > 0)
return ((int)this._allCount / this._count) + 1;
return ((int)this._allCount / this._count);
public int ShowPages
if(value > 0)
_showPages = value;
_showPages = 9;
上一页 [1] [2] [3] [4] [5] [6] 下一页
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18