protected void Page_Load(object sender, EventArgs e) { page = ViewState["page"] == null ? 0 : (int)ViewState["page"]; btnSelect_All.Text = "全选"; if (!IsPostBack) { btnAddEquipment.OnClientClick = Window_add.GetShowReference("AddEquipment.aspx", "添加设备信息"); InitData(); } }
protected void Page_Load(object sender, EventArgs e) { page = ViewState["page"] == null ? 0 : (int)ViewState["page"]; btnSelect_All.Text = "全选"; if (!IsPostBack) { btnAddFile.OnClientClick = Window_add.GetShowReference("ADD.aspx", "添加文件"); InitDroplistFile(); InitDropListAgency(); InitData(); } }