public static DbResult GetDataSet_R(String cnName, string sSql) { SqlBase db = NewDB(cnName); db.Connect(); if (!db.IsConnected) { return(new DbResult(db)); } DbResult dr = db.GetDataSet_R(sSql); db.Close(); return(dr); }