Example #1
0
    private int _SaveUpdate()
    {
        objUser.UserId    = Convert.ToInt32(Session["UserId"].ToString());
        objUser.FirstName = txt_FirstName.Text;
        objUser.LastName  = txt_LastName.Text;
        objUser.Email     = txtEmail.Text;
        objUser.Address   = txtAddress.Text;
        objUser.Password  = "";

        return(objStudent.InsertUpdateStudent(objUser));
    }