Click here to Skip to main content
15,868,016 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataTable - Inserting columns Pin
Mycroft Holmes9-Sep-12 23:11
professionalMycroft Holmes9-Sep-12 23:11 
AnswerRe: DataTable - Inserting columns Pin
Eddy Vluggen9-Sep-12 23:18
professionalEddy Vluggen9-Sep-12 23:18 
GeneralRe: DataTable - Inserting columns Pin
Bart9-Sep-12 23:29
Bart9-Sep-12 23:29 
GeneralRe: DataTable - Inserting columns Pin
Eddy Vluggen9-Sep-12 23:40
professionalEddy Vluggen9-Sep-12 23:40 
GeneralRe: DataTable - Inserting columns Pin
Bart9-Sep-12 23:44
Bart9-Sep-12 23:44 
GeneralRe: DataTable - Inserting columns Pin
Eddy Vluggen10-Sep-12 0:07
professionalEddy Vluggen10-Sep-12 0:07 
GeneralRe: DataTable - Inserting columns Pin
Bart10-Sep-12 0:43
Bart10-Sep-12 0:43 
AnswerRe: DataTable - Inserting columns Pin
Bart10-Sep-12 0:42
Bart10-Sep-12 0:42 
OK. It works now.

Adding a large number of columns to a datatable is too slow. I created a new table and added the columns I needed on table creation then used addrange.

About 1000 times faster (even though I had to copy all data rows - 156,000).

Now doing same for sorting and deletions.

Thanks all. Project now complete.
New post coming up.
bart

GeneralRe: DataTable - Inserting columns Pin
Eddy Vluggen10-Sep-12 1:27
professionalEddy Vluggen10-Sep-12 1:27 
QuestionAutomatic login + getting cookie information Pin
alikalik9-Sep-12 7:32
alikalik9-Sep-12 7:32 
AnswerRe: Automatic login + getting cookie information Pin
Mycroft Holmes9-Sep-12 14:40
professionalMycroft Holmes9-Sep-12 14:40 
QuestionC# Validation Pin
rmorton9-Sep-12 5:37
rmorton9-Sep-12 5:37 
QuestionProgram Working Very Slow Pin
mohammadkaab9-Sep-12 4:54
mohammadkaab9-Sep-12 4:54 
AnswerRe: Program Working Very Slow Pin
Eddy Vluggen9-Sep-12 5:41
professionalEddy Vluggen9-Sep-12 5:41 
GeneralRe: Program Working Very Slow Pin
mohammadkaab9-Sep-12 6:33
mohammadkaab9-Sep-12 6:33 
Questionremove items from Listbox Pin
scottichrosaviakosmos9-Sep-12 4:38
scottichrosaviakosmos9-Sep-12 4:38 
AnswerRe: remove items from Listbox Pin
Eddy Vluggen9-Sep-12 5:39
professionalEddy Vluggen9-Sep-12 5:39 
GeneralRe: remove items from Listbox Pin
scottichrosaviakosmos9-Sep-12 5:55
scottichrosaviakosmos9-Sep-12 5:55 
GeneralRe: remove items from Listbox Pin
Eddy Vluggen9-Sep-12 5:57
professionalEddy Vluggen9-Sep-12 5:57 
GeneralRe: remove items from Listbox Pin
scottichrosaviakosmos9-Sep-12 9:07
scottichrosaviakosmos9-Sep-12 9:07 
GeneralRe: remove items from Listbox Pin
Eddy Vluggen9-Sep-12 21:32
professionalEddy Vluggen9-Sep-12 21:32 
GeneralRe: remove items from Listbox Pin
scottichrosaviakosmos12-Sep-12 20:55
scottichrosaviakosmos12-Sep-12 20:55 
GeneralRe: remove items from Listbox Pin
Eddy Vluggen12-Sep-12 21:17
professionalEddy Vluggen12-Sep-12 21:17 
Questionhow to find all elements of a webpage Pin
hosseinDolat9-Sep-12 1:09
hosseinDolat9-Sep-12 1:09 
AnswerRe: how to find all elements of a webpage Pin
jschell9-Sep-12 4:04
jschell9-Sep-12 4:04 

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.