Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ObjEntity = new MatrimonyEntities();

        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)
        {
            LoadStarCombo();
            LoadStateCombo();
        }
    }
Exemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ObjEntity = new MatrimonyEntities();

        if (!IsPostBack)
        {
            LoadMotherTongueCombo();
            LoadProfileForCombo();
            LoadReligionCombo();
            LoadCountryCombo();
        }
    }
Exemplo n.º 3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        objMatrimonyEntities = new MatrimonyEntities();

        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();

        if (!IsPostBack)
        {
            LoadStarCombo();
            LoadStateCombo();
        }
    }