从包含数十万行的XML文件中读取多个表 [英] Reading Multiple table from XML file containing lakhs of rows

查看:212
本文介绍了从包含数十万行的XML文件中读取多个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,

我正在创建一个Windows应用程序,该应用程序读取XML文件,该XML文件包含多个表数据,并且它是非常大的文件.

问题是,当我通过

Hi friends,

I am creating one windows application, that reads an XML file, that XML file contains multiple tables data and it is very large file.

The problem is when i read the XML file by

dataset.ReadXml()

方法读取XML文件时,数据集仅填充前两个表,而其他表中的数据则无法读取.当我在文本可视化器中检查数据集时.前两个表的数据正确显示,但是当我检查表的第三个以上时,它在可视化工具中显示''X''交叉线.我认为问题是由于海量数据所致.

可以帮助任何人...

method, the dataset is filling only first two tables, the other tables data not reading. When I check the dataset in text visualizer. the first two tables data is displaying properly, but when i check tables third onwards it is showing ''X'' cross lines in visualizer. I think the problem is because of the huge data.

Can help anyone...

推荐答案


我也在处理XML文件.....
在我的项目中,我正在读取您提到的XML文件...
dataset.ReadXml();
在我的XML文件中,有很多表....
但是表格存在于表格中...
您能帮我将所有表读入一个datagridview吗?...
Hi,
I am also working with XML files.....
In my project I am reading XML files as you mentioned...
dataset.ReadXml();
in my XML files there are many tables....
but tables are present inside tables...
can you help me to read that all tables into one datagridview....


这篇关于从包含数十万行的XML文件中读取多个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆