Exemplo n.º 1
0
    private void StandardBind()
    {
        string classId = this._ClassId;

        this.DGrdStandard.DataSource = EntStandardAction.GetStandardList(classId);
        this.DGrdStandard.DataBind();
    }
Exemplo n.º 2
0
 private bool ExistInformation(string[] arrTcode)
 {
     for (int i = 0; i < arrTcode.Length; i++)
     {
         string    strId = arrTcode[i];
         DataTable fileClassInformation = this.pfua.GetFileClassInformation(strId);
         DataTable standardList         = EntStandardAction.GetStandardList(fileClassInformation.Rows[0]["ClassID"].ToString());
         if (standardList.Rows.Count > 0)
         {
             base.RegisterScript("alert('系统提示:\\n此类已被使用,不能删除!');");
             return(false);
         }
     }
     return(true);
 }