Click here to Skip to main content
15,891,253 members
Home / Discussions / C#
   

C#

 
GeneralRe: about database updation in C# Pin
OriginalGriff9-Mar-10 0:24
mveOriginalGriff9-Mar-10 0:24 
GeneralRe: about database updation in C# Pin
DX Roster9-Mar-10 0:31
DX Roster9-Mar-10 0:31 
GeneralRe: about database updation in C# Pin
OriginalGriff9-Mar-10 0:52
mveOriginalGriff9-Mar-10 0:52 
GeneralRe: about database updation in C# Pin
DX Roster9-Mar-10 1:23
DX Roster9-Mar-10 1:23 
GeneralRe: about database updation in C# Pin
loyal ginger9-Mar-10 3:36
loyal ginger9-Mar-10 3:36 
AnswerRe: about database updation in C# Pin
OriginalGriff9-Mar-10 0:23
mveOriginalGriff9-Mar-10 0:23 
AnswerRe: about database updation in C# Pin
DX Roster9-Mar-10 0:32
DX Roster9-Mar-10 0:32 
AnswerRe: about database updation in C# Pin
dybs9-Mar-10 14:23
dybs9-Mar-10 14:23 
If the columns in common between the tables have unique values, you can define them as foreign keys with the ON UPDATE CASCADE constraint (assuming the database supports foreign keys - I know SQLite only recently added support for them). When you update the column in the table being referenced, it will automatically update the column in the other table. I'm not certain if it works the other way around, but I think it does.

Dybs
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen

QuestionRemote access with WMI Pin
kebedetesema8-Mar-10 22:44
kebedetesema8-Mar-10 22:44 
AnswerRe: Remote access with WMI Pin
Gerrit4449-Mar-10 0:49
Gerrit4449-Mar-10 0:49 
GeneralRe: Remote access with WMI Pin
kebedetesema10-Mar-10 19:01
kebedetesema10-Mar-10 19:01 
Questiondisplay progress bar Pin
jadhavShubhangi8-Mar-10 22:37
jadhavShubhangi8-Mar-10 22:37 
AnswerRe: display progress bar Pin
DX Roster8-Mar-10 23:40
DX Roster8-Mar-10 23:40 
GeneralRe: display progress bar Pin
jadhavShubhangi9-Mar-10 0:21
jadhavShubhangi9-Mar-10 0:21 
GeneralRe: display progress bar Pin
DX Roster9-Mar-10 0:36
DX Roster9-Mar-10 0:36 
Questionconnection problem Pin
jadhavShubhangi8-Mar-10 22:33
jadhavShubhangi8-Mar-10 22:33 
AnswerRe: connection problem My vote of 5 Pin
Keith Barrow8-Mar-10 22:43
professionalKeith Barrow8-Mar-10 22:43 
GeneralRe: connection problem My vote of 5 Pin
jadhavShubhangi8-Mar-10 23:02
jadhavShubhangi8-Mar-10 23:02 
GeneralRe: connection problem My vote of 5 Pin
Luc Pattyn9-Mar-10 0:24
sitebuilderLuc Pattyn9-Mar-10 0:24 
Questiondisplaying updated datagridview Pin
jadhavShubhangi8-Mar-10 22:20
jadhavShubhangi8-Mar-10 22:20 
AnswerMy vote of 1 [again] Pin
Keith Barrow8-Mar-10 22:37
professionalKeith Barrow8-Mar-10 22:37 
AnswerRe: displaying updated datagridview Pin
DX Roster9-Mar-10 0:00
DX Roster9-Mar-10 0:00 
Questionclick on dtagridview display result in relative textbox Pin
jadhavShubhangi8-Mar-10 22:17
jadhavShubhangi8-Mar-10 22:17 
AnswerMy vote of 1 Pin
Keith Barrow8-Mar-10 22:36
professionalKeith Barrow8-Mar-10 22:36 
GeneralRe: My vote of 1 Pin
jadhavShubhangi8-Mar-10 22:39
jadhavShubhangi8-Mar-10 22:39 

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.