Click here to Skip to main content
15,798,592 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sorting a BindingList Pin
Nuri Ismail18-Feb-09 5:42
Nuri Ismail18-Feb-09 5:42 
GeneralRe: Sorting a BindingList Pin
MatthysDT18-Feb-09 7:01
MatthysDT18-Feb-09 7:01 
AnswerRe: Sorting a BindingList Pin
Nuri Ismail18-Feb-09 7:57
Nuri Ismail18-Feb-09 7:57 
JokeRe: Sorting a BindingList Pin
led mike18-Feb-09 8:31
led mike18-Feb-09 8:31 
GeneralRe: Sorting a BindingList Pin
MatthysDT18-Feb-09 20:39
MatthysDT18-Feb-09 20:39 
GeneralRe: Sorting a BindingList Pin
MatthysDT19-Feb-09 2:32
MatthysDT19-Feb-09 2:32 
GeneralRe: Sorting a BindingList Pin
Rafique Sheikh3-Nov-10 15:03
Rafique Sheikh3-Nov-10 15:03 
GeneralRe: Sorting a BindingList Pin
MatthysDT3-Nov-10 21:48
MatthysDT3-Nov-10 21:48 
Rafique Sheikh wrote:
Is "listOfObjects" a BindingList to begin with? If it is then you can't use this trick to sort the list as ToList() gives a generic list which cannot be converted to a BindingList, or am I missing something?


Took some digging in our SVN to find that code.

"listOfObjects" is a normal List<>, which I sort as explained in my previous post.

I simply convert it back to a BindingList using a foreach loop, adding each object to the new BindingList one-by-one. I think it has a slight speed penalty, but it works great and I had no better workable solution at the time.
GeneralRe: Sorting a BindingList Pin
Rafique Sheikh4-Nov-10 6:58
Rafique Sheikh4-Nov-10 6:58 
AnswerHow to use binding list order by Pin
Dravidian_Knight23-Aug-11 22:00
Dravidian_Knight23-Aug-11 22:00 
GeneralRe: How to use binding list order by Pin
MatthysDT23-Aug-11 22:32
MatthysDT23-Aug-11 22:32 
Questionsending data over tcp Pin
Mubeen.asim18-Feb-09 5:00
Mubeen.asim18-Feb-09 5:00 
GeneralRe: sending data over tcp [modified] Pin
Kristian Sixhøj18-Feb-09 5:17
Kristian Sixhøj18-Feb-09 5:17 
GeneralRe: sending data over tcp Pin
Mubeen.asim18-Feb-09 8:05
Mubeen.asim18-Feb-09 8:05 
GeneralRe: sending data over tcp Pin
Kristian Sixhøj18-Feb-09 8:09
Kristian Sixhøj18-Feb-09 8:09 
QuestionCan someone recommend a good tutorial on events in .NET (C#) Pin
Mihai Pruna18-Feb-09 4:39
Mihai Pruna18-Feb-09 4:39 
AnswerRe: Can someone recommend a good tutorial on events in .NET (C#) Pin
ABitSmart18-Feb-09 5:00
ABitSmart18-Feb-09 5:00 
AnswerRe: Can someone recommend a good tutorial on events in .NET (C#) Pin
DaveyM6918-Feb-09 5:16
professionalDaveyM6918-Feb-09 5:16 
GeneralRe: Can someone recommend a good tutorial on events in .NET (C#) Pin
Mihai Pruna18-Feb-09 5:56
Mihai Pruna18-Feb-09 5:56 
AnswerRe: Can someone recommend a good tutorial on events in .NET (C#) Pin
Giorgi Dalakishvili18-Feb-09 7:19
mentorGiorgi Dalakishvili18-Feb-09 7:19 
GeneralRe: Can someone recommend a good tutorial on events in .NET (C#) Pin
dan!sh 18-Feb-09 7:21
professional dan!sh 18-Feb-09 7:21 
QuestionVS2005, variables with values of form elements not updating when interacted with by user. Pin
Mihai Pruna18-Feb-09 4:30
Mihai Pruna18-Feb-09 4:30 
AnswerRe: VS2005, variables with values of form elements not updating when interacted with by user. Pin
Deresen18-Feb-09 4:59
Deresen18-Feb-09 4:59 
GeneralRe: VS2005, variables with values of form elements not updating when interacted with by user. Pin
Mihai Pruna18-Feb-09 5:05
Mihai Pruna18-Feb-09 5:05 
GeneralRe: VS2005, variables with values of form elements not updating when interacted with by user. Pin
Deresen18-Feb-09 5:09
Deresen18-Feb-09 5:09 

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.