public bool fnForgotPwd() { try { _objDataLayer = new clsDataLayer(); string strQuery = "UPDATE dbo.tbUsers SET Password='******' WHERE UserID=" + this.RefID.ToString(); _objDataLayer.fnExecuteQuery(strQuery); return true; } catch (Exception ex) { //Logger.Log(Logger.LogType.Log_In_DB, ex, true); return false; } finally { _objDataLayer = null; } }