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

C#

 
GeneralRe: help with a loop to compare datatables Pin
kboyette15-Aug-07 10:57
kboyette15-Aug-07 10:57 
GeneralRe: help with a loop to compare datatables Pin
Luc Pattyn15-Aug-07 11:48
sitebuilderLuc Pattyn15-Aug-07 11:48 
GeneralRe: help with a loop to compare datatables Pin
kboyette16-Aug-07 4:38
kboyette16-Aug-07 4:38 
GeneralRe: help with a loop to compare datatables Pin
Luc Pattyn16-Aug-07 4:55
sitebuilderLuc Pattyn16-Aug-07 4:55 
GeneralRe: help with a loop to compare datatables Pin
kboyette16-Aug-07 10:46
kboyette16-Aug-07 10:46 
AnswerRe: help with a loop to compare datatables Pin
pmarfleet15-Aug-07 10:26
pmarfleet15-Aug-07 10:26 
GeneralRe: help with a loop to compare datatables Pin
kboyette15-Aug-07 10:55
kboyette15-Aug-07 10:55 
AnswerRe: help with a loop to compare datatables [modified] Pin
Yosh_17-Aug-07 0:19
professionalYosh_17-Aug-07 0:19 
Kevin,
kboyette wrote:
My code for this works fine if there is only one assigned family but if there are more then I get duplicates in the available families list. I've thought of a couple of ways to accomplish this but none of them are elegant.


i believe you are calling your families list from a DB using a T-SQL statement.
You can use the 'distinct' keyword in your sql statement to retrieve unique values.
For ex: select distinct [familynames] from familytable

does it work well?


-- modified at 8:08 Friday 17th August, 2007

He who goes for revenge must first dig two graves.

Question[C#] - Acess Control for directories Pin
aravinda77715-Aug-07 8:31
aravinda77715-Aug-07 8:31 
AnswerRe: [C#] - Acess Control for directories Pin
Dave Kreskowiak15-Aug-07 9:21
mveDave Kreskowiak15-Aug-07 9:21 
GeneralRe: [C#] - Acess Control for directories Pin
Scott Dorman15-Aug-07 13:51
professionalScott Dorman15-Aug-07 13:51 
GeneralRe: [C#] - Acess Control for directories Pin
Dave Kreskowiak15-Aug-07 16:10
mveDave Kreskowiak15-Aug-07 16:10 
AnswerRe: [C#] - Acess Control for directories Pin
PhilDanger15-Aug-07 10:59
PhilDanger15-Aug-07 10:59 
QuestionJS script from C# Pin
vis200715-Aug-07 5:32
vis200715-Aug-07 5:32 
AnswerRe: JS script from C# Pin
led mike15-Aug-07 5:52
led mike15-Aug-07 5:52 
AnswerRe: JS script from C# Pin
Michael Sync15-Aug-07 6:26
Michael Sync15-Aug-07 6:26 
GeneralRe: JS script from C# Pin
Guffa15-Aug-07 6:58
Guffa15-Aug-07 6:58 
GeneralRe: JS script from C# Pin
Michael Sync15-Aug-07 7:07
Michael Sync15-Aug-07 7:07 
AnswerRe: JS script from C# Pin
Guffa15-Aug-07 14:00
Guffa15-Aug-07 14:00 
GeneralRe: JS script from C# Pin
Michael Sync15-Aug-07 16:29
Michael Sync15-Aug-07 16:29 
AnswerRe: JS script from C# Pin
Guffa15-Aug-07 21:36
Guffa15-Aug-07 21:36 
GeneralRe: JS script from C# Pin
Michael Sync16-Aug-07 1:22
Michael Sync16-Aug-07 1:22 
QuestionC++ to C#: Is it possible? Pin
Yosh_15-Aug-07 5:04
professionalYosh_15-Aug-07 5:04 
AnswerRe: C++ to C#: Is it possible? Pin
Phil J Pearson15-Aug-07 5:12
Phil J Pearson15-Aug-07 5:12 
GeneralRe: C++ to C#: Is it possible? Pin
Yosh_15-Aug-07 5:16
professionalYosh_15-Aug-07 5:16 

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.