Click here to Skip to main content
15,902,911 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: How to create a new text filename if it exists in window forms using C#net Pin
Patrick Etc.18-Feb-08 7:25
Patrick Etc.18-Feb-08 7:25 
GeneralRe: How to create a new text filename if it exists in window forms using C#net Pin
Christian Graus20-Feb-08 13:39
protectorChristian Graus20-Feb-08 13:39 
QuestionThreadStateException Pin
johland16-Feb-08 22:47
johland16-Feb-08 22:47 
GeneralRe: ThreadStateException Pin
Patrick Etc.17-Feb-08 5:39
Patrick Etc.17-Feb-08 5:39 
GeneralRe: ThreadStateException Pin
johland18-Feb-08 0:29
johland18-Feb-08 0:29 
GeneralProblem with Parent Child Data Binding Pin
Brady Kelly16-Feb-08 7:52
Brady Kelly16-Feb-08 7:52 
GeneralRe: Problem with Parent Child Data Binding Pin
Marc Clifton17-Feb-08 2:05
mvaMarc Clifton17-Feb-08 2:05 
GeneralRe: Problem with Parent Child Data Binding Pin
Brady Kelly17-Feb-08 2:31
Brady Kelly17-Feb-08 2:31 
Hi Mark, thanks for the advice, but as I have it, establishing a DataRelation between the two tables should be enough for ADO.NET to know to cascade the new parent primary key value to the new child records.

In fact, it is enough, but I have to call EndEdit after calling AddNew on my parent binding source. This makes the -1 PK availble to child FK, and the relation is established. Now when use the table adapters to update my DocumentTable and then DocumentLine table, the automatic cascade of the PK to the FK works perfectly.
GeneralRe: Problem with Parent Child Data Binding Pin
Marc Clifton17-Feb-08 2:40
mvaMarc Clifton17-Feb-08 2:40 
GeneralCommon Features and Functions Across Forms Several Forms Pin
Brady Kelly16-Feb-08 1:36
Brady Kelly16-Feb-08 1:36 
GeneralRe: Common Features and Functions Across Forms Several Forms Pin
Luc Pattyn16-Feb-08 1:46
sitebuilderLuc Pattyn16-Feb-08 1:46 
GeneralRe: Common Features and Functions Across Forms Several Forms Pin
Brady Kelly16-Feb-08 2:24
Brady Kelly16-Feb-08 2:24 
GeneralRe: Common Features and Functions Across Forms Several Forms Pin
Luc Pattyn16-Feb-08 2:36
sitebuilderLuc Pattyn16-Feb-08 2:36 
Generaltimer problem Pin
Miss Maheshwari15-Feb-08 20:08
Miss Maheshwari15-Feb-08 20:08 
GeneralRe: timer problem Pin
Christian Graus16-Feb-08 11:37
protectorChristian Graus16-Feb-08 11:37 
GeneralRe: timer problem Pin
Navneet Hegde25-Feb-08 23:36
Navneet Hegde25-Feb-08 23:36 
GeneralParsing problem string to int Pin
RanaSohail15-Feb-08 5:00
RanaSohail15-Feb-08 5:00 
GeneralRe: Parsing problem string to int Pin
Colin Angus Mackay15-Feb-08 5:15
Colin Angus Mackay15-Feb-08 5:15 
GeneralRe: Parsing problem string to int Pin
Luc Pattyn15-Feb-08 7:56
sitebuilderLuc Pattyn15-Feb-08 7:56 
GeneralRe: Parsing problem string to int Pin
RanaSohail15-Feb-08 20:06
RanaSohail15-Feb-08 20:06 
GeneralRe: Parsing problem string to int Pin
Luc Pattyn16-Feb-08 1:53
sitebuilderLuc Pattyn16-Feb-08 1:53 
General[Message Deleted] Pin
Miss Maheshwari15-Feb-08 1:18
Miss Maheshwari15-Feb-08 1:18 
GeneralRe: not showing the form on mdi parent form Pin
Dave Kreskowiak15-Feb-08 6:11
mveDave Kreskowiak15-Feb-08 6:11 
Generaldatabase problem Pin
Naresh12345678914-Feb-08 23:38
Naresh12345678914-Feb-08 23:38 
GeneralRe: database problem Pin
Colin Angus Mackay15-Feb-08 1:52
Colin Angus Mackay15-Feb-08 1:52 

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.