protected void Button1_Click2(object sender, EventArgs e) { SqlDataSourceAnswer.SelectParameters["ID"].DefaultValue = ((Button)sender).CommandArgument.ToString(); SqlDataSourceAnswer.DataBind(); //DetailsView4.DataBind(); Panel2_ModalPopupExtender.Show(); }
protected void SqlDataSourceAnswer_Updated(object sender, SqlDataSourceStatusEventArgs e) { GridView2.DataBind(); Panel2_ModalPopupExtender.Hide(); }