Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: case based reasoning Pin
Pete O'Hanlon4-Sep-12 22:03
mvePete O'Hanlon4-Sep-12 22:03 
GeneralRe: case based reasoning Pin
Shameel5-Sep-12 4:26
professionalShameel5-Sep-12 4:26 
GeneralRe: case based reasoning Pin
Pete O'Hanlon5-Sep-12 4:36
mvePete O'Hanlon5-Sep-12 4:36 
QuestionLinq2Sql cannot add an entity Pin
kenajelencres4-Sep-12 15:07
kenajelencres4-Sep-12 15:07 
QuestionRe: Linq2Sql cannot add an entity Pin
Eddy Vluggen4-Sep-12 21:45
professionalEddy Vluggen4-Sep-12 21:45 
AnswerRe: Linq2Sql cannot add an entity Pin
kenajelencres4-Sep-12 22:34
kenajelencres4-Sep-12 22:34 
GeneralRe: Linq2Sql cannot add an entity Pin
Eddy Vluggen4-Sep-12 22:44
professionalEddy Vluggen4-Sep-12 22:44 
GeneralRe: Linq2Sql cannot add an entity Pin
Pete O'Hanlon4-Sep-12 22:52
mvePete O'Hanlon4-Sep-12 22:52 
The problem is fairly well defined in that picture. You are trying to insert a duplicate key here; if you put a break point on the SubmitChanges line, take a look at the values in newGradeYear. I'm going to go out on a limb and suggest that your key value is in IDNo (take a look in your database and see if this field is the primary key).

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: Linq2Sql cannot add an entity Pin
kenajelencres4-Sep-12 23:49
kenajelencres4-Sep-12 23:49 
GeneralRe: Linq2Sql cannot add an entity Pin
Pete O'Hanlon4-Sep-12 23:53
mvePete O'Hanlon4-Sep-12 23:53 
GeneralRe: Linq2Sql cannot add an entity Pin
kenajelencres5-Sep-12 12:47
kenajelencres5-Sep-12 12:47 
GeneralRe: Linq2Sql cannot add an entity Pin
Pete O'Hanlon5-Sep-12 20:13
mvePete O'Hanlon5-Sep-12 20:13 
QuestionStart pages for beginners Pin
mauricemcse4-Sep-12 8:59
mauricemcse4-Sep-12 8:59 
AnswerRe: Start pages for beginners Pin
Eddy Vluggen4-Sep-12 9:03
professionalEddy Vluggen4-Sep-12 9:03 
QuestionRTD help at C# Pin
yatici4-Sep-12 7:39
yatici4-Sep-12 7:39 
AnswerRe: RTD help at C# Pin
Karl Sanford4-Sep-12 9:28
professionalKarl Sanford4-Sep-12 9:28 
GeneralRe: RTD help at C# Pin
yatici4-Sep-12 10:08
yatici4-Sep-12 10:08 
AnswerRe: RTD help at C# Pin
Eddy Vluggen4-Sep-12 22:00
professionalEddy Vluggen4-Sep-12 22:00 
QuestionC# proxy class Pin
sc steinhayse4-Sep-12 6:52
sc steinhayse4-Sep-12 6:52 
AnswerRe: C# proxy class Pin
Pete O'Hanlon4-Sep-12 7:03
mvePete O'Hanlon4-Sep-12 7:03 
GeneralRe: C# proxy class Pin
sc steinhayse4-Sep-12 12:29
sc steinhayse4-Sep-12 12:29 
GeneralRe: C# proxy class Pin
Pete O'Hanlon4-Sep-12 22:06
mvePete O'Hanlon4-Sep-12 22:06 
QuestionHow to do architecture design? Pin
yu-jian4-Sep-12 5:56
yu-jian4-Sep-12 5:56 
AnswerRe: How to do architecture design? Pin
Pete O'Hanlon4-Sep-12 5:59
mvePete O'Hanlon4-Sep-12 5:59 
AnswerRe: How to do architecture design? Pin
Eddy Vluggen4-Sep-12 6:04
professionalEddy Vluggen4-Sep-12 6:04 

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.