public DataTable GetFields(string dbName, string tbName, string sql) { sql = string.Format(sql, tbName, dbName); DataTable dt = MsSqlHelper.ExecuteDataTable(sql); return(dt); }
public DataTable GetDatabases(string sql) { return(MsSqlHelper.ExecuteDataTable(sql)); }