示例#1
0
        protected void btnSaveGroup_Click(object sender, EventArgs e)
        {
            SqlDataSourceGroupName.Insert();
            DropDownLisGroupName.DataBind();
            string hu = "alert('Record  Saved');$('#dvAddGroup').dialog('close');";

            ScriptManager.RegisterClientScriptBlock(UpdatePanel1, typeof(UpdatePanel), "jscript", hu, true);
        }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         DropDownLisGroupName.DataBind();
         DropDownListModuleName.DataBind();
         GridView1.DataBind();
     }
 }