public static bool IsExistUser(string loginUserName)
        {
            try
            {
                wlSQL objWLSql = new wlSQL();
                objWLSql.AddParameter("@LoginUserName", DbType.String, ParameterDirection.Input, 0, loginUserName);
                object o    = objWLSql.ExecuteScalar("p_Users_sel_IsExistUser");
                bool   flag = false;
                if (o != null)
                {
                    int count = Convert.ToInt32(o.ToString(), CultureInfo.CurrentCulture);
                    if (count > 0)
                    {
                        flag = true;
                    }
                }

                return(flag);
            }
            catch (Exception ex)
            {
                throw wlLogging.HandleEx(ex);
            }
        }