protected void Page_Load(object sender, EventArgs e)
    {
        ObjEntity = new marriageEntities1();

        if (!IsPostBack)
        {
            LoadMotherTongueCombo();
            LoadProfileForCombo();
            LoadReligionCombo();
            LoadCountryCombo();
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        ObjEntity = new marriageEntities1();

        string TxtCaste = Convert.ToString(Session["SessionCasteText"]);
        string TxtCountry = Convert.ToString(Session["SessionCountryText"]);
        Lbl_CountryName.Text = TxtCountry;
        Lbl_CasteName.Text = TxtCaste;

        LoadHigherEduCombo();
        LoadOccupCombo();
        LoadCurrencyCombo();
        //SubCaste();

        //according to religion caste will be change to dropdown or textbox

        if (Session["SessionReligion"].ToString().ToUpper()  == "HINDU")
        {
            Txt_Caste.Visible = false;
            DDL_SubCaste.Visible = true;
        }
        else
        {
            Txt_Caste.Visible = true;
            DDL_SubCaste.Visible = false;
        }

        if (!IsPostBack)
        {

            LoadStateCombo();
        }
        LoadStarCombo();
    }