Esempio n. 1
0
        private DataTable Readxml(string filefullname)
        {
            XmlReader      r  = XmlReader.Create(filefullname);
            ZeroDataStruct ir = new ZeroDataStruct(r, Path.GetFileNameWithoutExtension(filefullname));

            r.Close();
            return(ir.Datasource);
        }
Esempio n. 2
0
        private DataTable Readxml(Stream sr, string id)
        {
            sr.Seek(0, SeekOrigin.Begin);
            XmlReader      r  = XmlReader.Create(sr);
            ZeroDataStruct ir = new ZeroDataStruct(r, id);

            r.Close();
            return(ir.Datasource);
        }