コード例 #1
0
    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);
    }
コード例 #2
0
ファイル: StationSMSList.aspx.cs プロジェクト: ichari/ichari
    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);
    }
コード例 #3
0
 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);
     }
 }