private void BindData() { DataTable dt = new DAL.Views.V_StationSMS().Open("", "SiteID = " + _Site.ID.ToString(), "[DateTime] desc"); if (dt == null) { PF.GoError(ErrorNumber.DataReadWrite, "数据库繁忙,请重试", "Admin_StationSMSList"); return; } PF.DataGridBindData(g, dt, gPager); }
private void BindData() { DataTable dt = new Views.V_StationSMS().Open("", "SiteID = " + base._Site.ID.ToString(), "[DateTime] desc"); if (dt == null) { PF.GoError(4, "数据库繁忙,请重试", "Admin_StationSMSList"); } else { PF.DataGridBindData(this.g, dt, this.gPager); } }