Ejemplo n.º 1
0
 protected void Button112_Click(object sender, EventArgs e)
 {
     Passport_Satet.DataBind();
     Passport_Satet_Edit_data.DataBind();
     DropDownList6.SelectedValue = "0";
     DropDownList1.SelectedValue = "0";
     TextBox8.Text = "";
     DropDownList6_SelectedIndexChanged(null, null);
     Pass_kinisi.DataBind();
     DropDownList1.DataBind();
     GridView3.DataBind();
     ModalPopupExtender2.Hide();
 }
Ejemplo n.º 2
0
 protected void DropDownList6_SelectedIndexChanged(object sender, EventArgs e)
 {
     ModalPopupExtender2.Hide();
     Passport_Satet_Edit_data.DataBind();
     GridView7.DataBind();
     if (GridView7.Rows.Count > 0)
     {
         DropDownList5.SelectedValue = GridView7.Rows[0].Cells[1].Text;
         DropDownList7.SelectedValue = GridView7.Rows[0].Cells[1].Text;
         TextBox1.Text   = GridView7.Rows[0].Cells[2].Text;
         TextBox117.Text = GridView7.Rows[0].Cells[3].Text;
     }
     else
     {
         DropDownList5.SelectedValue = "0";
         DropDownList7.SelectedValue = "0";
         TextBox1.Text   = "";
         TextBox117.Text = "0";
     }
     ModalPopupExtender2.Show();
 }