Exemple #1
0
        public bool foundUser(String username)
        {
            DBL.User user = new DBL.User();
            user.Username1 = username;
            SqlDataReader rdr = user.getUser(user);

            if (rdr.Read())
            {
                /*
                 * string col = rdr["id"].ToString();
                 * MessageBox.Show(col, "Success");
                 */
                return(true);
            }
            else
            {
                return(false);
            }
        }