I can see the list of doubles... if the columes are dynamic, then implementing ITypedList might be useful, but I'll be honest - it is a pig to implement correctly; it would be easier to fill a DataTable I've used this, for example, to transpose an array on the fly.
I can see the list of doubles... if the columes are dynamic, then implementing ITypedList might be useful, but I'll be honest - it is a pig to implement correctly; it would be easier to fill a DataTable. I've used this, for example, to transpose an array on the fly. If performance is your concern, perhaps switch to virtual mode?
This would appear to match your use-case quite well.
Each of the 3 lists represents a column. My test app contains a textbox for the user to enter the number of rows and columns and I've been using 3 X 100,000 typically. Real world could be more like 8 x 1,000,000.My first attempt was to simply write data directly to a DataTable but performance was not great with large # of rows.
Copying my the contents of my lists to a DataTable and using that as the DGV datasource is quicker than going cell by cell, but could present some other challanges. I'll have to investigate ITypedList and VirtualMode. – Dan Schubel Jan 6 '10 at 17:12 My first choice would be virtual mode.
I have some ITypedList examples kicking around on usenet if you want. – Marc Gravell? Jan 6 '10 at 19:11 For example, groups.google.
Com/group/… – Marc Gravell? Jan 6 '10 at 19:13 Got it working using virtual mode, thanks for the help. – Dan Schubel Jan 6 '10 at 21:09.
If it's a WebApplication you can do a foreach statement and build a table from code-behind.
See comment above re: DataTable – Dan Schubel Jan 6 '10 at 17:21.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.