public DataTable ManagerLogin() { Query = "SELECT * FROM login"; dtTbl = dbConn.ExecQuery(Query); return(dtTbl); }
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); }