Click here to Skip to main content
15,913,304 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to add ScrollViewer to usercontrol in MVVM by josh smith. Pin
Kornfeld Eliyahu Peter30-Jun-14 19:18
professionalKornfeld Eliyahu Peter30-Jun-14 19:18 
Questionbetween two Datetimepicker using Pin
Nishant.Chauhan8029-Jun-14 19:30
Nishant.Chauhan8029-Jun-14 19:30 
AnswerRe: between two Datetimepicker using Pin
Eddy Vluggen29-Jun-14 22:28
professionalEddy Vluggen29-Jun-14 22:28 
AnswerRe: between two Datetimepicker using Pin
OriginalGriff29-Jun-14 22:59
mveOriginalGriff29-Jun-14 22:59 
GeneralRe: between two Datetimepicker using Pin
V.30-Jun-14 3:16
professionalV.30-Jun-14 3:16 
GeneralRe: between two Datetimepicker using Pin
OriginalGriff30-Jun-14 4:26
mveOriginalGriff30-Jun-14 4:26 
QuestionWinforms vs MFC Pin
shiftwik29-Jun-14 17:50
shiftwik29-Jun-14 17:50 
AnswerRe: Winforms vs MFC Pin
PIEBALDconsult29-Jun-14 18:10
mvePIEBALDconsult29-Jun-14 18:10 
AnswerRe: Winforms vs MFC Pin
Eddy Vluggen29-Jun-14 22:30
professionalEddy Vluggen29-Jun-14 22:30 
AnswerRe: Winforms vs MFC Pin
OriginalGriff29-Jun-14 23:01
mveOriginalGriff29-Jun-14 23:01 
QuestionEmail sending failed in asp.net c# Pin
Member 1022600129-Jun-14 5:43
Member 1022600129-Jun-14 5:43 
AnswerRe: Email sending failed in asp.net c# Pin
Pete O'Hanlon29-Jun-14 6:48
mvePete O'Hanlon29-Jun-14 6:48 
GeneralRe: Email sending failed in asp.net c# Pin
Member 1022600129-Jun-14 6:59
Member 1022600129-Jun-14 6:59 
GeneralRe: Email sending failed in asp.net c# Pin
Member 102260012-Jul-14 5:32
Member 102260012-Jul-14 5:32 
QuestionSave in related table ... Pin
nassimnastaran29-Jun-14 4:34
nassimnastaran29-Jun-14 4:34 
AnswerRe: Save in related table ... Pin
OriginalGriff29-Jun-14 5:50
mveOriginalGriff29-Jun-14 5:50 
Well...you haven't inserted anything into the sub table. So I'm not surprised that it contains no records.

If you want to do this, I would recommend that your either use a transaction round both assignments, or better create a stored procedure to create a transaction, and do both inserts - this has the advantage of keeping it all within the DB.

But you are going to need two inserts whichever way you go.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

GeneralRe: Save in related table ... Pin
nassimnastaran29-Jun-14 10:16
nassimnastaran29-Jun-14 10:16 
Questionexchange data between forms ? Pin
Member 245846728-Jun-14 22:10
Member 245846728-Jun-14 22:10 
AnswerRe: exchange data between forms ? Pin
OriginalGriff28-Jun-14 22:19
mveOriginalGriff28-Jun-14 22:19 
GeneralRe: exchange data between forms ? Pin
Member 245846729-Jun-14 23:00
Member 245846729-Jun-14 23:00 
GeneralRe: exchange data between forms ? Pin
OriginalGriff29-Jun-14 23:12
mveOriginalGriff29-Jun-14 23:12 
QuestionHow to write an element address of array in C# Pin
pvpeng28-Jun-14 16:58
pvpeng28-Jun-14 16:58 
AnswerRe: How to write an element address of array in C# Pin
Pete O'Hanlon28-Jun-14 19:42
mvePete O'Hanlon28-Jun-14 19:42 
AnswerRe: How to write an element address of array in C# Pin
Kornfeld Eliyahu Peter28-Jun-14 19:57
professionalKornfeld Eliyahu Peter28-Jun-14 19:57 
QuestionMessage Closed Pin
28-Jun-14 9:35
Csíkszentmihályi28-Jun-14 9:35 

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.