10月份 杂记
【1】 随即生成一个数字
Random random = new Random();
int i = random.Next(1,100);
【2】 分页
using (this.GroupColletion.DeferRefresh())
{
this._viewgroup.PageSize = 10;
this._viewgroup.MoveToFirstPage();
}
if (op.TotalEntityCount != -1)
{
this._viewgroup.SetTotalItemCount(op.TotalEntityCount);
this._viewgroup.MoveToFirstPage();
}