Esempio n. 1
0
        protected void GetState()
        {
            Statetbl        ls  = new Statetbl();
            List <Statetbl> lst = new List <Statetbl>();

            lst = objStateBL.GetAllState(ls).ToList();
            gdvState.DataSource = lst;
            gdvState.DataBind();
            btnUpdate.Visible = false;
        }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Statetbl st = new Statetbl();

            lstState = objStateBL.GetAllState(st).ToList();
            if (!IsPostBack)
            {
                GetCountry();
                GetCity();
            }
        }