protected void Page_Load(object sender, EventArgs e) { ObjEntity = new SampleEntities1(); if (!IsPostBack) { LoadReligionCombo(); } }
protected void Page_Load(object sender, EventArgs e) { ObjEntity = new SampleEntities1(); if (!IsPostBack) { LoadProfileForCombo(); LoadReligionCombo(); LoadCountryCombo(); LoadMotherTongueCombo(); } }
protected void Page_Load(object sender, EventArgs e) { ObjEntity = new SampleEntities1(); string TxtName = Convert.ToString(Session["Sessionname"]); string TxtDob = Convert.ToString(Session["SessionDOB"]); string TxtGender = Convert.ToString(Session["SessionGender"]); string Txtreligion = Convert.ToString(Session["SessionReligion"]); string TxtMotherTon = Convert.ToString(Session["SessionMotherTon"]); string TxtCaste = Convert.ToString(Session["SessionCaste"]); string TxtCountry = Convert.ToString(Session["SessionCountry"]); string TxtMobile = Convert.ToString(Session["SessionMobile"]); string TxtEmail = Convert.ToString(Session["SessionEmail"]); string TxtPwd = Convert.ToString(Session["SessionPSW"]); Lbl_CountryName.Text = TxtCountry; Lbl_CasteName.Text = TxtCaste; LoadHigherEduCombo(); LoadOccupCombo(); LoadCurrencyCombo(); SubCaste(); RegionalSitesn(); //according to religion caste will be change to dropdown or textbox if (Txtreligion == "Hindu") { Txt_Caste.Visible= false; DDL_SubCaste.Visible = true; } else { Txt_Caste.Visible = true; DDL_SubCaste.Visible = false; } if (!IsPostBack) { LoadStarCombo(); LoadStateCombo(); } }