protected void FinishBtn_Click(object sender, EventArgs e)
 {
     User_Prof._Home_name  = TextBox1.Text;
     User_Prof._HomeCat_ID = Convert.ToInt16(DropDownList5.SelectedValue);
     User_Prof._Prof_ID    = Convert.ToInt16(DropDownList1.SelectedValue);
     User_Prof.Create();
     User_Prof.AddPic();
     User_Prof.AddDate();
     Session["loginuser"] = User_Prof.GetId();
     Response.Redirect("Profile.aspx");
 }
        protected void loginbtn_Click(object sender, EventArgs e)
        {
            User_Prof._Email    = Emailtxt.Text;
            User_Prof._Password = Password.Text;
            int chk = User_Prof.Login();

            if (chk == 0)
            {
                Session["loginuser"] = User_Prof.GetId();
                Response.Redirect("Profile.aspx");
            }
        }