Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to add second column to a listBox component? Pin
Mycroft Holmes7-Apr-19 12:27
professionalMycroft Holmes7-Apr-19 12:27 
AnswerRe: How to add second column to a listBox component? Pin
BillWoodruff7-Apr-19 16:27
professionalBillWoodruff7-Apr-19 16:27 
AnswerRe: How to add second column to a listBox component? Pin
Gerry Schmitz8-Apr-19 5:20
mveGerry Schmitz8-Apr-19 5:20 
QuestionIterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol7-Apr-19 8:15
Mou_kol7-Apr-19 8:15 
AnswerRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Luc Pattyn7-Apr-19 15:51
sitebuilderLuc Pattyn7-Apr-19 15:51 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol8-Apr-19 9:13
Mou_kol8-Apr-19 9:13 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Luc Pattyn8-Apr-19 9:15
sitebuilderLuc Pattyn8-Apr-19 9:15 
AnswerRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Eddy Vluggen8-Apr-19 0:23
professionalEddy Vluggen8-Apr-19 0:23 
Mou_kol wrote:
I have a list which has 25000 data and I am iterating in all data and in each iteration, I am searching data in another data table. my whole routine is taking a long time to finish.
XML is not optimized for search, it is an exchange-format. If you want speed, use a real database.

Also, the data needs to be normalized; having to do "Split.ToUpper" 25000 times is nonsense. Finding the data in the other table should be fast if you have the PK and or an indexed field.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol8-Apr-19 9:14
Mou_kol8-Apr-19 9:14 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Eddy Vluggen9-Apr-19 2:02
professionalEddy Vluggen9-Apr-19 2:02 
AnswerRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Gerry Schmitz8-Apr-19 5:39
mveGerry Schmitz8-Apr-19 5:39 
AnswerRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Luc Pattyn8-Apr-19 11:50
sitebuilderLuc Pattyn8-Apr-19 11:50 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol9-Apr-19 9:14
Mou_kol9-Apr-19 9:14 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol11-Apr-19 8:58
Mou_kol11-Apr-19 8:58 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Luc Pattyn11-Apr-19 9:17
sitebuilderLuc Pattyn11-Apr-19 9:17 
QuestionHow to do three join between three list Pin
Mou_kol7-Apr-19 8:12
Mou_kol7-Apr-19 8:12 
AnswerRe: How to do three join between three list Pin
User 41802549-Apr-19 3:22
User 41802549-Apr-19 3:22 
QuestionRepeated join causing poor performance in for loop Pin
Mou_kol7-Apr-19 8:10
Mou_kol7-Apr-19 8:10 
AnswerRe: Repeated join causing poor performance in for loop Pin
jschell7-Apr-19 8:57
jschell7-Apr-19 8:57 
GeneralRe: Repeated join causing poor performance in for loop Pin
Mou_kol8-Apr-19 9:07
Mou_kol8-Apr-19 9:07 
AnswerRe: Repeated join causing poor performance in for loop Pin
Luc Pattyn7-Apr-19 15:44
sitebuilderLuc Pattyn7-Apr-19 15:44 
GeneralRe: Repeated join causing poor performance in for loop Pin
Mou_kol8-Apr-19 9:13
Mou_kol8-Apr-19 9:13 
GeneralRe: Repeated join causing poor performance in for loop Pin
Luc Pattyn8-Apr-19 9:14
sitebuilderLuc Pattyn8-Apr-19 9:14 
QuestionC# List: How to do 3 joins for better performance Pin
Mou_kol7-Apr-19 2:44
Mou_kol7-Apr-19 2:44 
AnswerRe: C# List: How to do 3 joins for better performance Pin
Gerry Schmitz7-Apr-19 6:17
mveGerry Schmitz7-Apr-19 6:17 

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.