示例#1
0
        public DataTable ManagerLogin()
        {
            Query = "SELECT * FROM login";
            dtTbl = dbConn.ExecQuery(Query);

            return(dtTbl);
        }
示例#2
0
        public static bool IsTableExist(string tabel)
        {
            var cek = false;

            var query = "SELECT * FROM " + tabel;
            var dTbl  = DbConn.ExecQuery(query);

            if (dTbl.Rows.Count > 0)
            {
                cek = true;
            }

            return(cek);
        }