Click here to Skip to main content
15,921,351 members
Home / Discussions / C#
   

C#

 
QuestionTreeView images not showing correctly Pin
Ken Soukup5-Feb-07 9:46
Ken Soukup5-Feb-07 9:46 
AnswerRe: TreeView images not showing correctly Pin
Judah Gabriel Himango5-Feb-07 10:09
sponsorJudah Gabriel Himango5-Feb-07 10:09 
GeneralRe: TreeView images not showing correctly Pin
Ken Soukup6-Feb-07 7:45
Ken Soukup6-Feb-07 7:45 
Questionproblem with Properties.Settings.Default to access settings in C# windows application Pin
red60mans5-Feb-07 9:36
red60mans5-Feb-07 9:36 
AnswerRe: problem with Properties.Settings.Default to access settings in C# windows application Pin
Ware@Work5-Feb-07 10:37
Ware@Work5-Feb-07 10:37 
QuestionSimple Databinding to Datarow - values not updating??? Pin
TheTinSoldier5-Feb-07 9:29
TheTinSoldier5-Feb-07 9:29 
QuestionUpdating multiple tables Pin
ArturNOW5-Feb-07 9:08
ArturNOW5-Feb-07 9:08 
AnswerRe: Updating multiple tables Pin
Ware@Work5-Feb-07 11:20
Ware@Work5-Feb-07 11:20 
Hard to understand without an example.

Sounds to me like you need to use a stored procedure with as many parameters as necessary to do work. This could then do any CRUD on parent table necessary and then appropriate CRUD to child table.

Another alternative (may not fit as I don't know your structures) is to create method on dataset that can be called to do updates. This method would do appropriate call to parent table for modified record(s) and then do appropriate calls to child table for modified record(s).

I did something similar to the second answer but had to add additional code to support transactions within the code generated for the typed dataset. I could genericize my code and post it if it might be helpful.

Thanks,

Ware

GeneralRe: Updating multiple tables Pin
ArturNOW5-Feb-07 21:37
ArturNOW5-Feb-07 21:37 
GeneralRe: Updating multiple tables Pin
Ware@Work6-Feb-07 5:55
Ware@Work6-Feb-07 5:55 
GeneralRe: Updating multiple tables Pin
ArturNOW6-Feb-07 6:41
ArturNOW6-Feb-07 6:41 
QuestionHow to set Property description? Pin
kmuthuk5-Feb-07 9:05
kmuthuk5-Feb-07 9:05 
AnswerRe: How to set Property description? Pin
Pete O'Hanlon5-Feb-07 9:25
mvePete O'Hanlon5-Feb-07 9:25 
GeneralRe: How to set Property description? Pin
kmuthuk5-Feb-07 10:30
kmuthuk5-Feb-07 10:30 
AnswerRe: How to set Property description? Pin
Luc Pattyn5-Feb-07 9:57
sitebuilderLuc Pattyn5-Feb-07 9:57 
GeneralRe: How to set Property description? Pin
kmuthuk5-Feb-07 10:29
kmuthuk5-Feb-07 10:29 
GeneralRe: How to set Property description? Pin
Luc Pattyn5-Feb-07 11:01
sitebuilderLuc Pattyn5-Feb-07 11:01 
QuestionUnit Testing of web page loading Pin
sreecahitu5-Feb-07 8:17
sreecahitu5-Feb-07 8:17 
AnswerRe: Unit Testing of web page loading Pin
ednrgc5-Feb-07 8:28
ednrgc5-Feb-07 8:28 
GeneralRe: Unit Testing of web page loading Pin
sreecahitu5-Feb-07 8:35
sreecahitu5-Feb-07 8:35 
GeneralRe: Unit Testing of web page loading Pin
ednrgc5-Feb-07 8:46
ednrgc5-Feb-07 8:46 
AnswerRe: Unit Testing of web page loading Pin
Judah Gabriel Himango5-Feb-07 9:46
sponsorJudah Gabriel Himango5-Feb-07 9:46 
AnswerRe: Unit Testing of web page loading Pin
VirtualVoid.NET6-Feb-07 3:33
VirtualVoid.NET6-Feb-07 3:33 
QuestionHow do I compare 2 List objects? Pin
baronics5-Feb-07 7:55
baronics5-Feb-07 7:55 
AnswerRe: How do I compare 2 List objects? Pin
Guffa5-Feb-07 8:32
Guffa5-Feb-07 8:32 

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.