Click here to Skip to main content
15,918,617 members
Home / Discussions / C#
   

C#

 
AnswerRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Dave Kreskowiak25-Jul-07 7:32
mveDave Kreskowiak25-Jul-07 7:32 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Paul Conrad25-Jul-07 7:48
professionalPaul Conrad25-Jul-07 7:48 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
god4k25-Jul-07 8:19
god4k25-Jul-07 8:19 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
kubben25-Jul-07 8:26
kubben25-Jul-07 8:26 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Dave Kreskowiak25-Jul-07 8:34
mveDave Kreskowiak25-Jul-07 8:34 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Paul Conrad25-Jul-07 8:38
professionalPaul Conrad25-Jul-07 8:38 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
god4k25-Jul-07 8:44
god4k25-Jul-07 8:44 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Dave Kreskowiak25-Jul-07 9:39
mveDave Kreskowiak25-Jul-07 9:39 
god4k wrote:
8-9 seconds that I tell you not include Load AND PARSE Xml file.


Then why did you say so?!?



god4k wrote:
DateTime d1 = DateTime.Now;
DataGridView1.DataSource = MyDataTable
DateTime d2 = DateTime.Now;
TimeSpan ts = d2 - d1;
Console.WriteLine(ts);


You're not seriously rendering 100,000 rows in a dataGrid, are you?? Is the user even going to look at all of that crap?? You really need to rethink your design, 'cause there is no way to speed up the rendering of 100,000. What does the user need to see?? That is all you should be showing them. I can't think of a single good reason to show a user 100,000 rows of a table...


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Paul Conrad25-Jul-07 9:48
professionalPaul Conrad25-Jul-07 9:48 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Dave Kreskowiak25-Jul-07 13:46
mveDave Kreskowiak25-Jul-07 13:46 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Paul Conrad25-Jul-07 13:52
professionalPaul Conrad25-Jul-07 13:52 
AnswerRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
martin_hughes25-Jul-07 8:49
martin_hughes25-Jul-07 8:49 
AnswerRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Gyan Jadal25-Jul-07 9:40
Gyan Jadal25-Jul-07 9:40 
GeneralRe: High performance: DataGridView1.DataSource = MyDataTable (100,000 rows) Pin
Dave Kreskowiak25-Jul-07 10:09
mveDave Kreskowiak25-Jul-07 10:09 
QuestionCrystal report dynamically load an image on report document Pin
bemahesh25-Jul-07 6:11
bemahesh25-Jul-07 6:11 
Questionproblem Pin
sarvenaz8425-Jul-07 6:06
sarvenaz8425-Jul-07 6:06 
AnswerRe: problem Pin
leckey25-Jul-07 6:14
leckey25-Jul-07 6:14 
AnswerRe: problem Pin
Luc Pattyn25-Jul-07 6:42
sitebuilderLuc Pattyn25-Jul-07 6:42 
AnswerRe: problem Pin
Dave Kreskowiak25-Jul-07 7:31
mveDave Kreskowiak25-Jul-07 7:31 
AnswerRe: problem Pin
Paul Conrad25-Jul-07 7:35
professionalPaul Conrad25-Jul-07 7:35 
Questionchange a db value of 1 to "Administrator" Pin
Boyd Lowry25-Jul-07 5:53
Boyd Lowry25-Jul-07 5:53 
AnswerRe: change a db value of 1 to "Administrator" Pin
Luis Alonso Ramos25-Jul-07 6:15
Luis Alonso Ramos25-Jul-07 6:15 
AnswerRe: change a db value of 1 to "Administrator" Pin
Eliz.k26-Jul-07 22:13
Eliz.k26-Jul-07 22:13 
QuestionDataGridView and System.ComponentModel attributes Pin
Jon Hulatt25-Jul-07 5:21
Jon Hulatt25-Jul-07 5:21 
AnswerRe: DataGridView and System.ComponentModel attributes Pin
Judah Gabriel Himango25-Jul-07 5:53
sponsorJudah Gabriel Himango25-Jul-07 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.