Click here to Skip to main content
15,892,643 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get List Of Child Process from currentprocess! Pin
OriginalGriff24-Mar-10 0:25
mveOriginalGriff24-Mar-10 0:25 
GeneralMessage Removed Pin
5-Apr-10 1:43
divyesh14325-Apr-10 1:43 
GeneralRe: Get List Of Child Process from currentprocess! Pin
OriginalGriff5-Apr-10 1:54
mveOriginalGriff5-Apr-10 1:54 
GeneralRe: Get List Of Child Process from currentprocess! Pin
Luc Pattyn24-Mar-10 3:42
sitebuilderLuc Pattyn24-Mar-10 3:42 
GeneralRe: Get List Of Child Process from currentprocess! Pin
divyesh14325-Apr-10 1:58
divyesh14325-Apr-10 1:58 
GeneralRe: Get List Of Child Process from currentprocess! Pin
Luc Pattyn5-Apr-10 2:09
sitebuilderLuc Pattyn5-Apr-10 2:09 
GeneralRe: Get List Of Child Process from currentprocess! Pin
divyesh14325-Apr-10 19:33
divyesh14325-Apr-10 19:33 
Questionado.net object transaction + sql trigger fails Pin
Wendell.S23-Mar-10 19:50
Wendell.S23-Mar-10 19:50 
I have a parent-child scenario using OBJECT Sql Transactions to insert data into TableMaster and TableChild.

When I try to commit the transaction on the software using object.Commit() I get a foreign key error like "TableChild.IDMaster is conflicting with TableMaster.IdMaster as if the key value doesn't exists, but this error just happen because there is an AFTER INSERT trigger in the TableMaster table that is probably trying to run together with the object transaction, conflicting with the SqlTransaction object in the application.

It seems like it tries to insert TableMaster, runs the trigger and after that, tries to insert the tablechild items. I just wonder how can I have an SqlTransaction object in my application for master detail and do not have problems with table triggers...

I'm using Visual studio 2008 + Sql Server 2008 (C#) and not using any dataset nor tableadapters, only commands associated with SqlTransaction object.
Thanks in advance!
AnswerRe: ado.net object transaction + sql trigger fails Pin
Mycroft Holmes23-Mar-10 20:23
professionalMycroft Holmes23-Mar-10 20:23 
QuestionAddString() Pin
manushi8823-Mar-10 19:24
manushi8823-Mar-10 19:24 
AnswerRe: AddString() Pin
Luc Pattyn23-Mar-10 19:50
sitebuilderLuc Pattyn23-Mar-10 19:50 
AnswerRe: AddString() Pin
carlecomm24-Mar-10 15:34
carlecomm24-Mar-10 15:34 
QuestionPass values from Textbox To Datagridview C# Pin
zafax_23-Mar-10 19:13
zafax_23-Mar-10 19:13 
QuestionHow do I access the Textbox context menu to add items? Pin
steveski7423-Mar-10 18:23
steveski7423-Mar-10 18:23 
AnswerRe: How do I access the Textbox context menu to add items? Pin
Mycroft Holmes23-Mar-10 18:39
professionalMycroft Holmes23-Mar-10 18:39 
GeneralRe: How do I access the Textbox context menu to add items? Pin
steveski7423-Mar-10 19:04
steveski7423-Mar-10 19:04 
GeneralRe: How do I access the Textbox context menu to add items? Pin
Mycroft Holmes23-Mar-10 19:54
professionalMycroft Holmes23-Mar-10 19:54 
AnswerRe: How do I access the Textbox context menu to add items? Pin
MikeTheFid10-Jun-11 7:47
MikeTheFid10-Jun-11 7:47 
QuestionCould I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
pcphuc23-Mar-10 17:30
pcphuc23-Mar-10 17:30 
AnswerRe: Could I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
Richard MacCutchan23-Mar-10 22:43
mveRichard MacCutchan23-Mar-10 22:43 
GeneralRe: Could I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
pcphuc23-Mar-10 23:02
pcphuc23-Mar-10 23:02 
GeneralRe: Could I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
Richard MacCutchan23-Mar-10 23:15
mveRichard MacCutchan23-Mar-10 23:15 
GeneralRe: Could I use Word 12.0 Object Library to open Word 2003 documents and convert them to pdf format? Pin
pcphuc23-Mar-10 23:17
pcphuc23-Mar-10 23:17 
Question#include or including files Pin
prithaa23-Mar-10 17:05
prithaa23-Mar-10 17:05 
AnswerRe: #include or including files Pin
Saša Ćetković23-Mar-10 17:30
professionalSaša Ćetković23-Mar-10 17:30 

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.