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