PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Adding rows to DataGrid becomes slow
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Adding rows to DataGrid becomes slow
![]() |
Adding rows to DataGrid becomes slow |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi there,
I have a DataGrid bound to a DataTable. I use the grid as a logging table. The problem is that when there are a lot of rows in the data table (say more than 7500) adding new rows to it becomes very slow. Is there a different strategy I could follow to overcome the performance problem with adding rows to a DataTable bound to a DataGrid? Thanks and kind regards, -- Tom Tempelaere. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
"TT (Tom Tempelaere)" wrote:
> Hi there, > > I have a DataGrid bound to a DataTable. I use the grid as a logging table. > The problem is that when there are a lot of rows in the data table (say more > than 7500) adding new rows to it becomes very slow. > > Is there a different strategy I could follow to overcome the performance > problem with adding rows to a DataTable bound to a DataGrid? BeginLoadData + EndLoadData on the DataTable does the trick. TT |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

