/// <summary> /// 获取数据列表 /// </summary> private void GetMatList() { rptMat.DataSource = tb_matrl_main.GetListByPage(AspNetPager1.PageSize, AspNetPager1.CurrentPageIndex, txtMatCode.Value, txtGRD.Value, txtSpec.Value); rptMat.DataBind(); }