示例#1
0
        public static object GetDataReader(String cnName, string sSql)
        {
            SqlBase db = NewDB(cnName);

            db.Connect();
            if (!db.IsConnected)
            {
                return(-1);
            }
            object oR = db.GetDataReader(sSql);

            db.Close();
            return(oR);
        }