Exemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     page = ViewState["page"] == null ? 0 : (int)ViewState["page"];
     btnSelect_All.Text = "全选";
     if (!IsPostBack)
     {
         //添加数据
         btnAddProject.OnClientClick = WindowProjectImportant.GetShowReference("ADD_ProjectImportant.aspx", "添加项目重大节点信息");
         BindData();
         btnDelete.Enabled = false;
     }
 }
Exemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     page = ViewState["page"] == null ? 0 : (int)ViewState["page"];
     btnSelect_All.Text = "全选";
     if (!IsPostBack)
     {
         //添加数据
         btnAddProject.OnClientClick = WindowProjectImportant.GetShowReference("ADD_ProjectStaffDevote.aspx", "添加项目人员投入信息");
         BindData();
         btnDelete.Enabled     = false;
         reprot1.OnClientClick = WindowReport.GetShowReference("~/Report/Project.aspx", "按项目统计科研人员信息");
         if (ddlsearch.SelectedText == "全部")
         {
             TriProjectNames.Enabled = false;
         }
         else
         {
             TriProjectNames.Enabled = true;
         }
     }
 }