471,348 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Problem with big datatable

Hi everybody.
I have a plain text file and I read row by row after that put it into
datatable (one cell contains one character). So this Datatable size can be
50,000x50,000 or more than. After that I bind this datatable to datagrid.
Everything is ok until the datatable > 2,000x2,000 . My program runs very
slowly with big datatable, especially when read from file to datatable .
I tried to use ArrayList and Array Charracter to instead of Datatable.But I
don't know how to bind ArrayList or Array char to datagrid.
Could you give me a solution ?
Thank you very much.
Jul 21 '05 #1
4 1811
guy
50,000 columns?

could you please explain how and why you need this many columns and who can
read that many?

guy
"mtnhan" wrote:
Hi everybody.
I have a plain text file and I read row by row after that put it into
datatable (one cell contains one character). So this Datatable size can be
50,000x50,000 or more than. After that I bind this datatable to datagrid.
Everything is ok until the datatable > 2,000x2,000 . My program runs very
slowly with big datatable, especially when read from file to datatable .
I tried to use ArrayList and Array Charracter to instead of Datatable.But I
don't know how to bind ArrayList or Array char to datagrid.
Could you give me a solution ?
Thank you very much.

Jul 21 '05 #2
Because, I read a text file and put it into datatable.so You can't know how
long is a Row.
Jul 21 '05 #3
guy
perhaps you could explain what you are trying to achieve after reading this
text file?
why do you need to use a datagrid?

guy

"mtnhan" wrote:
Because, I read a text file and put it into datatable.so You can't know how
long is a Row.

Jul 21 '05 #4
My program is like Excel, after read from text file. I use datagrid to show
it. And User can change data on datagrid.
for example: User can Cut,Paste,Copy,Del... Column, Row or block Cell.. .
Drag and drop Column.....
So, I realize that datagrid is good.
Do you think so ?
Thanks

Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Emerson | last post: by
3 posts views Thread by Newbie | last post: by
10 posts views Thread by Saso Zagoranski | last post: by
8 posts views Thread by Inigo Jimenez | last post: by
4 posts views Thread by The Alchemist | last post: by
1 post views Thread by tangus via DotNetMonster.com | last post: by
1 post views Thread by sapkal.manish | last post: by
4 posts views Thread by Aryan | last post: by
7 posts views Thread by Vlado Jasovic | last post: by
1 post views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.