Click here to Skip to main content
15,888,020 members

Comments by taha6221 (Top 1 by date)

taha6221 19-Jan-13 16:38pm View    
you may populate it with a very large amount of rows,so you have to follow one of these rows :
1- if you hide the datagridview when binding data and then show it when it is done, makes is a bit faster
2-you have to use a DATAREADER to to read the data and Must use "READNEXTVALUE". this works when it is in backgrounderworker and also you can add a progress bar to show the status of the grid,IMP > don't forget to use thread.sleep(100); in "while" cycle you use to read the values of the datareader;
3-also you can make a "QUEUE" class for the messeges to come inside and handle them in "INVOKE" method.

hope it helps ;)