这样测试是可以用的.
this.GridView1.DataSource = SqlComm.getDataByPageIndex("View_IT_WorkOrderNOFin", "*", "_id", "and _owerUser='admin'", pageindex, pagesize); this.GridView1.Data
this.GridView1.DataSource = SqlComm.getDataByPageIndex("View_IT_WorkOrderNOFin", "*", "_id", "and _owerUser='admin'", pageindex, pagesize); this.GridView1.Data