Esempio n. 1
0
 protected void btnAddCity_Click(object sender, EventArgs e)
 {
     AdminDb.AddCity(Convert.ToInt32(ddSelectNewState.SelectedValue), tbNewCityName.Text, cbNewMajorCity.Checked, Session["UserName"].ToString());
     pnlAddCity.Visible  = false;
     pnlBackdrop.Visible = false;
     BindDataToGridView();
 }