Visual Basic .NET » Visual Basic .NET General Discussion
DataGridView problem -- Anton --


Hi.. I have a problem with DataGridView in VS 2005, .net framework 2.0

I fill it dynamicaly - both columns and rows from separate threads. So,
in case if the column amount needs the horizontal scrollbar to appear,
it appears, but:
1) I can not move the scrollbar - it does not respond 2) it is not drawn properly (mean drawn paritally)
3) When looking at the DataDridView - the application uses 99% of CPU time. If I will switch the tab, for example and the DGV got hidden -
CPU loading goes to zero, as it should be...

Also if to disable the horizontal scrollbar - everything works fine including the CPU usage.

Any suggestions??
Thank,
Anton

-- Anton --


solved... cross threa control update needs BeginInvoke/EndInvoke procedure.
Thank you for your atttention Anton

[Submit Comment]Home