コード例 #1
0
        public Boolean Auth(string email, string senha)
        {
            string    consult = string.Format($@"select * from tbl_clienteB05 where email = '{email}' and senha = '{senha}'");
            DataTable dt      = database.executeConsult(consult);

            if (dt.Rows.Count == 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }