Click here to Skip to main content
15,921,351 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionHow to create a new text filename if it exists in window forms using C#net Pin
sivaram praveen17-Feb-08 19:59
sivaram praveen17-Feb-08 19:59 
GeneralRe: How to create a new text filename if it exists in window forms using C#net Pin
Miss Maheshwari17-Feb-08 20:04
Miss Maheshwari17-Feb-08 20:04 
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 
I have a parent child relationship, on DocumentID, between an invoice and invoice lines. A form displays invoice fields and has a grid for invoice lines. The grids BindingSource points to the Invoice Binding Source, and it's DataMember to the relation, so I think this is correct.

Now, if I leave the relation type to Only Relation, the DocumentID in my new Invoice is -1, and the DocumentID in my Invoice Lines grid is also -1, but the Line record remains -1 after being written to the database. So, I think maybe I should make the relation a constrain as well and add a cascade update, but then I get an error that -1 doesn't exist in the parent table, even though the Invoice datatable DocumentID is -1.



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 
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 

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.