Click here to Skip to main content
15,894,955 members
Home / Discussions / C#
   

C#

 
GeneralRe: random in background Pin
Mark H Bishop2-Feb-10 4:05
Mark H Bishop2-Feb-10 4:05 
AnswerRe: random in background Pin
Luc Pattyn1-Feb-10 12:11
sitebuilderLuc Pattyn1-Feb-10 12:11 
Questionhow to expose an event in user control Pin
nuttynibbles1-Feb-10 10:37
nuttynibbles1-Feb-10 10:37 
AnswerRe: how to expose an event in user control Pin
#realJSOP1-Feb-10 10:47
mve#realJSOP1-Feb-10 10:47 
AnswerRe: how to expose an event in user control Pin
DaveyM691-Feb-10 12:10
professionalDaveyM691-Feb-10 12:10 
GeneralRe: how to expose an event in user control Pin
nuttynibbles1-Feb-10 16:51
nuttynibbles1-Feb-10 16:51 
QuestionAdding and removing differences from List compared to another list Pin
zagitta1-Feb-10 10:34
zagitta1-Feb-10 10:34 
AnswerRe: Adding and removing differences from List compared to another list Pin
#realJSOP1-Feb-10 10:51
mve#realJSOP1-Feb-10 10:51 
You could derive a new class like so:

public class MyListOfObjects : List<MyObject>{}


and then add a method like so:

public void AddUnique(MyObject obj)


which would see if the list contains obj, and if not, then add it.

At that point you can just loop through your new list and call the databound list's AddUnique method with each item in the new list.

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

GeneralRe: Adding and removing differences from List compared to another list Pin
zagitta1-Feb-10 11:29
zagitta1-Feb-10 11:29 
GeneralRe: Adding and removing differences from List compared to another list Pin
#realJSOP1-Feb-10 23:20
mve#realJSOP1-Feb-10 23:20 
GeneralRe: Adding and removing differences from List compared to another list Pin
zagitta2-Feb-10 2:55
zagitta2-Feb-10 2:55 
GeneralRe: Adding and removing differences from List compared to another list Pin
Dan Mos2-Feb-10 7:36
Dan Mos2-Feb-10 7:36 
GeneralRe: Adding and removing differences from List compared to another list [modified] Pin
zagitta3-Feb-10 4:37
zagitta3-Feb-10 4:37 
GeneralRe: Adding and removing differences from List compared to another list Pin
Luc Pattyn1-Feb-10 12:15
sitebuilderLuc Pattyn1-Feb-10 12:15 
GeneralRe: Adding and removing differences from List compared to another list Pin
#realJSOP1-Feb-10 23:22
mve#realJSOP1-Feb-10 23:22 
Questionsql instances and a deuced connection Pin
reza assar1-Feb-10 10:27
reza assar1-Feb-10 10:27 
AnswerRe: sql instances and a deuced connection Pin
Rutvik Dave1-Feb-10 10:39
professionalRutvik Dave1-Feb-10 10:39 
QuestionC1Flexgrid datetime picker background color Pin
Member 13252301-Feb-10 10:26
Member 13252301-Feb-10 10:26 
Questionsetup and deployment Pin
reza assar1-Feb-10 10:15
reza assar1-Feb-10 10:15 
QuestionHow to hide a network connection from the user and run that connection using C# code Pin
CoderForEver1-Feb-10 9:29
CoderForEver1-Feb-10 9:29 
AnswerRe: How to hide a network connection from the user and run that connection using C# code Pin
PIEBALDconsult1-Feb-10 15:07
mvePIEBALDconsult1-Feb-10 15:07 
GeneralRe: How to hide a network connection from the user and run that connection using C# code Pin
CoderForEver1-Feb-10 19:05
CoderForEver1-Feb-10 19:05 
QuestionWhich ones are free databases? Pin
Aseem Sharma1-Feb-10 5:40
Aseem Sharma1-Feb-10 5:40 
AnswerRe: Which ones are free databases? [modified] Pin
Covean1-Feb-10 5:49
Covean1-Feb-10 5:49 
GeneralRe: Which ones are free databases? Pin
vivasaayi1-Feb-10 6:47
vivasaayi1-Feb-10 6:47 

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.