示例#1
0
 //重置
 protected void Reset_Click(object sender, EventArgs e)
 {
     try
     {
         DropDownListCategoryName.Reset();
         CategoryContent.Reset();
     }
     catch (Exception ex)
     {
         publicmethod.SaveError(ex, this.Request);
     }
 }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     page = ViewState["page"] == null ? 0 : (int)ViewState["page"];
     btnSelect_All.Text = "全选";
     if (!IsPostBack)
     {
         //添加数据
         btnAdd.OnClientClick = WindowAdd.GetShowReference("Add_BasicCode.aspx");
         BindData();
         btnDelete.Enabled = false;
         DropDownListCategoryName.Reset();
         InitDropListDropDownListCategoryName();
     }
 }
示例#3
0
 //刷新
 protected void btnRefresh_Click(object sender, EventArgs e)
 {
     BindData();
     btnDelete.Enabled = false;
     DropDownListCategoryName.Reset();
 }