コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!this.Page.IsPostBack)
     {
         if (base.Request["prjId"] == null)
         {
             this.JS.Text = "alert('参数错误!');";
         }
         else
         {
             this.ProjectCode = base.Request["prjId"];
         }
         com.jwsoft.pm.entpm.PageHelper.BindDropDownTree(this.DDTClass, 20);
         this.SqlWhere = ProjectOverAction.GetSqlWhere(this.ProjectCode, 0, "", 9999);
         this.DgdDocument_Bind();
     }
 }
コード例 #2
0
ファイル: documentlist.aspx.cs プロジェクト: zxl881203/src
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!this.Page.IsPostBack)
     {
         if (base.Request["prjId"] == null)
         {
             this.JS.Text = "alert('参数错误!');";
         }
         else
         {
             this.ProjectCode = base.Request["prjId"];
         }
         com.jwsoft.pm.entpm.PageHelper.BindDropDownTree(this.DDTClass, 20);
         this.SqlWhere = ProjectOverAction.GetSqlWhere(this.ProjectCode, 0, "", 9999);
         this.DgdDocument_Bind();
         this.BtnDel.Attributes["onclick"] = "if (!confirm('你确定要删除选定的记录吗?')){return false;}";
     }
 }
コード例 #3
0
ファイル: documentlist.aspx.cs プロジェクト: zxl881203/src
 protected void btnSearch_Click(object sender, EventArgs e)
 {
     this.SqlWhere = ProjectOverAction.GetSqlWhere(this.ProjectCode, Convert.ToInt32(this.DDLTerm.SelectedValue), this.TxtTerm.Text.Trim(), Convert.ToInt32(this.DDTClass.SelectedValue.Trim()));
     this.DgdDocument_Bind();
 }