//Change Password
        #region [Change Password]

        public DataSet ChangePassword(EWA_ChangePassword objEWA)
        {
            DataSet ds = new DataSet();

            try
            {
                prmList    = new string[8];
                prmList[0] = "@Action";
                prmList[1] = "ChangePassword";
                prmList[2] = "@UserCode";
                prmList[3] = objEWA.UserCode;
                prmList[4] = "@OldPassword";
                prmList[5] = objEWA.OldPassword;
                prmList[6] = "@NewPassword";
                prmList[7] = objEWA.NewPassword;

                ds = ObjHelper.FillControl(prmList, "SP_ChangePassword");

                return(ds);
            }
            catch (Exception)
            {
                // GeneralErr(exp.Message.ToString());
                throw;
            }
        }
Beispiel #2
0
        //Chnage Password
        #region [Chnage Password]

        public DataSet ChangePassword(EWA_ChangePassword objEWA)
        {
            DataSet ds = new DataSet();

            try
            {
                DL_ChangePassword objDL = new DL_ChangePassword();
                ds = objDL.ChangePassword(objEWA);
                return(ds);
            }
            catch (Exception)
            {
                throw;
            }
        }