Click here to Skip to main content
15,886,689 members
Home / Discussions / Database
   

Database

 
GeneralRe: ExecuteNonQuery doesn't work Pin
Mark Churchill19-Dec-07 14:23
Mark Churchill19-Dec-07 14:23 
GeneralRe: ExecuteNonQuery doesn't work Pin
Strzalek20-Dec-07 7:46
Strzalek20-Dec-07 7:46 
GeneralProblems with xp_sendmail Pin
Leo Smith19-Dec-07 10:12
Leo Smith19-Dec-07 10:12 
GeneralRe: Problems with xp_sendmail Pin
Tobias Schoenig19-Dec-07 19:53
Tobias Schoenig19-Dec-07 19:53 
QuestionGetting started with SSIS Help Pin
Rupert Todd19-Dec-07 9:16
Rupert Todd19-Dec-07 9:16 
GeneralRe: Getting started with SSIS Help Pin
pmarfleet19-Dec-07 10:41
pmarfleet19-Dec-07 10:41 
GeneralRe: Getting started with SSIS Help Pin
Rupert Todd19-Dec-07 10:44
Rupert Todd19-Dec-07 10:44 
GeneralParent not present in GetChanges() Pin
goldoche19-Dec-07 6:43
goldoche19-Dec-07 6:43 
Hi, I have a problem. Both simple and weird. Say I have ParentTable and ChildTable. Obviously, ChildTable is a child of ParentTable. Both are strongly-typed DataSets.

When I create rows for them, I start by creating a ParentTableRow (dataset.ParentTable.AddParentTableRow()), and inserting it into my dataset.
Then I create my childTable the same way, and I have to specify the a ParentTableRow, as a reference to its parent. I do it and it looks fine in the debugger (i.e. the ParentTableRow is set). I insert the child row into the dataset too.

Then, before committing the changes to the database, I must call GetChanges() on ChildTable, which gives out an array of all rows that have been changed since the loading of the dataset. My new ChildTableRow appears, BUT the ParentTableRow member, (the reference to its parent) is NULL, although it was set earlier!

Just before the call to GetChanges() I looked at my ChildTable in the debugger (from dataset.ChildTable) and guess what? The ParentTableRow is still there! It looks like GetChanges() ignores the reference to the ParentTableRow or something...

Has anyone any idea of what's going on and how to get though this?
Thank you!
GeneralRe: Parent not present in GetChanges() Pin
Giorgi Dalakishvili19-Dec-07 6:54
mentorGiorgi Dalakishvili19-Dec-07 6:54 
GeneralRe: Parent not present in GetChanges() Pin
goldoche19-Dec-07 11:14
goldoche19-Dec-07 11:14 
GeneralRe: Parent not present in GetChanges() Pin
Giorgi Dalakishvili19-Dec-07 23:39
mentorGiorgi Dalakishvili19-Dec-07 23:39 
GeneralGenerating script in MS Access Pin
Lijo Rajan19-Dec-07 6:13
Lijo Rajan19-Dec-07 6:13 
GeneralRe: Generating script in MS Access Pin
pmarfleet19-Dec-07 9:14
pmarfleet19-Dec-07 9:14 
Generalsql query Pin
niki_nilu19-Dec-07 0:33
niki_nilu19-Dec-07 0:33 
GeneralRe: sql query Pin
niki_nilu19-Dec-07 0:49
niki_nilu19-Dec-07 0:49 
GeneralRe: sql query Pin
niki_nilu19-Dec-07 17:31
niki_nilu19-Dec-07 17:31 
Generalplz tell me how Pin
wasimsharp18-Dec-07 23:26
wasimsharp18-Dec-07 23:26 
GeneralRe: plz tell me how Pin
pmarfleet19-Dec-07 0:29
pmarfleet19-Dec-07 0:29 
GeneralRe: plz tell me how Pin
Paul Conrad19-Dec-07 16:36
professionalPaul Conrad19-Dec-07 16:36 
QuestionC#:Password encryption algorithm Pin
kssknov18-Dec-07 21:04
kssknov18-Dec-07 21:04 
GeneralWrong forum Pin
pmarfleet18-Dec-07 21:23
pmarfleet18-Dec-07 21:23 
GeneralUPDATE depends on UPDATE, the two UPDATEs come together Pin
followait18-Dec-07 17:39
followait18-Dec-07 17:39 
GeneralRe: UPDATE depends on UPDATE, the two UPDATEs come together Pin
SimulationofSai18-Dec-07 20:09
SimulationofSai18-Dec-07 20:09 
GeneralRe: UPDATE depends on UPDATE, the two UPDATEs come together Pin
GuyThiebaut18-Dec-07 22:41
professionalGuyThiebaut18-Dec-07 22:41 
Generalselect year/month syntax (for contracts up for renewal in X month) Pin
tellytub18-Dec-07 16:09
tellytub18-Dec-07 16:09 

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.