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

C#

 
GeneralRe: Porting VS 2005 => 2010: "Could not load file or assembly..." Pin
Richard MacCutchan9-Dec-11 6:20
mveRichard MacCutchan9-Dec-11 6:20 
GeneralRe: Porting VS 2005 => 2010: "Could not load file or assembly..." Pin
Alan Balkany9-Dec-11 7:12
Alan Balkany9-Dec-11 7:12 
AnswerLink to solution Pin
Alan Balkany12-Dec-11 5:25
Alan Balkany12-Dec-11 5:25 
Questioncontrol "asp:listview" bind to web service without database with "if statement" c# Pin
aspkiddy8-Dec-11 10:26
aspkiddy8-Dec-11 10:26 
Questionproblem with list predicate (?) or list item not being found Pin
CCodeNewbie8-Dec-11 9:33
CCodeNewbie8-Dec-11 9:33 
AnswerRe: problem with list predicate (?) or list item not being found Pin
emardini8-Dec-11 15:00
emardini8-Dec-11 15:00 
GeneralRe: problem with list predicate (?) or list item not being found Pin
CCodeNewbie8-Dec-11 21:38
CCodeNewbie8-Dec-11 21:38 
QuestionC# dataset error Pin
classy_dog8-Dec-11 9:05
classy_dog8-Dec-11 9:05 
I have a question about a C#. net 2008 desktop where I am working with .XSD files (datasets and dataadapters). I need to add a capability for a user to enter a 'alt-id' key as a search key to look up lots of information about a customer. To accomplish this goal a stored procedure with lots of 'left outer join statments' is called to obtain the information.

When the stored procedure is executed on its own, it runs in all cases. When the C#.net app executes in runs in all cases, except when there there is only data in the 'alt-key' column. Basically all the other tables that are associated in the join do not data the correspsonding data.

I am getting the error 'Failed to enable constraints. One or more rows contain values violating non-null,unique, or foreign-key constraints.'

The error occurs on the statment where I try to fill a dataset.

Thus to solve this problem, I am trying to decide what to do.

What you do think my options are:

1. Is there some setting I should change in the dataset so at least the 'alt-key' value is returning and all the other joined columns contain null as their value?

2. Should I do some kind of a preselect to see if any real data exists? if so how would you code that?

3. Do you have other suggestions? If so, can you tell me and/or point me to a reference where I can solve this problem?
QuestionLinq - Remove Object From Collection Pin
Kevin Marois8-Dec-11 7:19
professionalKevin Marois8-Dec-11 7:19 
AnswerRe: Linq - Remove Object From Collection Pin
fjdiewornncalwe8-Dec-11 7:37
professionalfjdiewornncalwe8-Dec-11 7:37 
AnswerRe: Linq - Remove Object From Collection Pin
Dan Mos8-Dec-11 7:46
Dan Mos8-Dec-11 7:46 
GeneralRe: Linq - Remove Object From Collection Pin
Kevin Marois8-Dec-11 7:49
professionalKevin Marois8-Dec-11 7:49 
GeneralRe: Linq - Remove Object From Collection Pin
Dan Mos8-Dec-11 7:56
Dan Mos8-Dec-11 7:56 
GeneralRe: Linq - Remove Object From Collection Pin
Kevin Marois8-Dec-11 7:57
professionalKevin Marois8-Dec-11 7:57 
GeneralRe: Linq - Remove Object From Collection Pin
Dan Mos8-Dec-11 8:22
Dan Mos8-Dec-11 8:22 
GeneralRe: Linq - Remove Object From Collection Pin
Kevin Marois8-Dec-11 8:24
professionalKevin Marois8-Dec-11 8:24 
GeneralRe: Linq - Remove Object From Collection Pin
Dan Mos8-Dec-11 9:18
Dan Mos8-Dec-11 9:18 
GeneralRe: Linq - Remove Object From Collection Pin
BobJanova8-Dec-11 22:44
BobJanova8-Dec-11 22:44 
Generaltwo compile time errors with your for loop based code: Re: Linq - Remove Object From Collection Pin
BillWoodruff9-Dec-11 9:16
professionalBillWoodruff9-Dec-11 9:16 
GeneralRe: Linq - Remove Object From Collection Pin
BillWoodruff9-Dec-11 9:17
professionalBillWoodruff9-Dec-11 9:17 
AnswerRe: Linq - Remove Object From Collection Pin
Mirko198012-Dec-11 2:53
Mirko198012-Dec-11 2:53 
AnswerRe: Linq - Remove Object From Collection Pin
BillWoodruff9-Dec-11 1:04
professionalBillWoodruff9-Dec-11 1:04 
QuestionType Isomorphisms: this is more an open theory question than a practical programming question Pin
Alaric_8-Dec-11 6:01
professionalAlaric_8-Dec-11 6:01 
AnswerRe: Type Isomorphisms: this is more an open theory question than a practical programming question Pin
Alaric_8-Dec-11 8:09
professionalAlaric_8-Dec-11 8:09 
QuestionCompress and decompress string between java and c# Pin
Hossein Khalaj8-Dec-11 6:00
Hossein Khalaj8-Dec-11 6:00 

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.