标题:datagridview中导入txt文件
取消只看楼主
唐崇彬
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2018-5-7
结帖率:100%
已结贴  问题点数:20 回复次数:0 
datagridview中导入txt文件
如下,这是一个txt文件,要将它导入datagridview中并显示出来,例如:第一行中2001是第一列,00是第二列,2539是第三列,,本人菜鸟一枚,寻求详细代码。
200100253900253920010025392001002541002541200100254120010000000000
200200254500254520020025392001002540002541200100254020020000000000
200300251500254520020025152003002537002541200100253720030000000000
200400246100254520020024612004002533002541200100253320040000000000
200500243400254520020024342005002529002541200100252920050000000000
200600244700254520020024342005002521002541200100252120060000000000
200700237800254520020023782007002503002541200100250320070000000000
200800242600254520020023782007002486002541200100248620080000000000
200900233600254520020023362009002465002541200100246520090000000000
201000234600254520020023362009002440002541200100244020100000000000
201100250000254520020023362009002437002541200100243720110000000000
201200255100255120120023362009002437002541200100243720110000000000
201300249900255120120023362009002436002541200100243620130000000000
201400253600255120120023362009002443002541200100243620130000000000
201500251600255120120023362009002451002541200100243620130000000000
2016******00255120120023362009******002541200100243620130000000000
搜索更多相关主题的帖子: datagridview 导入 txt 文件 代码 
2018-05-07 22:50



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-486747-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.092228 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved