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(); }
protected void DropDownList3_SelectedIndexChanged(object sender, EventArgs e) { if (DropDownList3.SelectedValue == "0") { Label1.Text = "Ημ. Παράδοσης"; Button1.Visible = true; Button4.Visible = false; Button5.Visible = false; } else { Label1.Text = "Ημ. Επιστροφής Χρημάτων"; Button1.Visible = false; Button4.Visible = true; Button5.Visible = true; } Pass_kinisi.DataBind(); GridView3.DataBind(); Passport_Satet.DataBind(); DropDownList1.Items.Clear(); DropDownList1.Items.Add(new ListItem("Επιλογή", "0")); DropDownList1.DataBind(); }