Пример #1
0
        public int select(string str)
        {
            string s = "select useId from user where username='******'";
            int    a = Convert.ToInt32(DBhelper.ExecuteScalar(s));

            return(a);
        }