protected void Page_Load(object sender, EventArgs e) { if (this.IsPostBack == false) { TxtState.Focus(); this.Form.DefaultButton = BtnAdd.UniqueID; DataTable ObjCountryTable = MyJobPortalModel.Country.GetCountryRecords("status='Active'"); DdlCountry.DataSource = ObjCountryTable; DdlCountry.DataBind(); DdlCountry.Items.Insert(0, new ListItem("--Select--", "--Select--")); } }