Click here to Skip to main content
11,500,106 members (59,267 online)

Windows Forms

 
GeneralRe: Data Binding to an Object that may be Read Only Pin
Simon Bridge10-Feb-13 10:45
memberSimon Bridge10-Feb-13 10:45 
GeneralRe: Data Binding to an Object that may be Read Only Pin
Eddy Vluggen12-Feb-13 7:53
mvpEddy Vluggen12-Feb-13 7:53 
GeneralRe: Data Binding to an Object that may be Read Only Pin
Simon Bridge12-Feb-13 10:55
memberSimon Bridge12-Feb-13 10:55 
GeneralRe: Data Binding to an Object that may be Read Only Pin
Eddy Vluggen12-Feb-13 12:27
mvpEddy Vluggen12-Feb-13 12:27 
QuestionImplement jQuery Tag-it functionality in C# Win Form Pin
Member 29389611-Feb-13 7:47
memberMember 29389611-Feb-13 7:47 
QuestionRe-write a MS Access application to Visual Studio Pin
Jaap Britz19-Jan-13 23:23
memberJaap Britz19-Jan-13 23:23 
AnswerRe: Re-write a MS Access application to Visual Studio Pin
Eddy Vluggen20-Jan-13 2:32
mvpEddy Vluggen20-Jan-13 2:32 
GeneralRe: Re-write a MS Access application to Visual Studio Pin
Maciej Los19-Mar-13 7:01
mvpMaciej Los19-Mar-13 7:01 
AnswerRe: Re-write a MS Access application to Visual Studio Pin
Maciej Los19-Mar-13 7:05
mvpMaciej Los19-Mar-13 7:05 
QuestionHow to Deploy my application along with database Pin
Member 929272931-Dec-12 0:27
memberMember 929272931-Dec-12 0:27 
AnswerRe: How to Deploy my application along with database Pin
savbace10-Jan-13 22:54
membersavbace10-Jan-13 22:54 
QuestionWindows Form Designer code and importing old projects Pin
Aaron Hartley28-Dec-12 10:42
memberAaron Hartley28-Dec-12 10:42 
AnswerRe: Windows Form Designer code and importing old projects Pin
Mike Meinz21-Jan-13 8:44
memberMike Meinz21-Jan-13 8:44 
Questionparent/child bindingsource save on new row does not work Pin
PrissySC8-Dec-12 11:07
memberPrissySC8-Dec-12 11:07 
Parent = context.table
child = From t in parent where ...

In properties, the datasource is set to parent as well.

The bindingnavigators.bindingsource are set to child, all controls and datagrids are bound to the child bindingsoure.

Add new will instaniate a new row. It displays in the datagrids; however, it will not save. The primary key field maintains 0. As soon as I sort or call a new query the row is gone. On reload the row is gone.

Is there a problem with a child binding source?

me.validate()
me.parentsource.endedit()
me.child.endedit()
parent.resetcurrentitem()
me.context.submitchanges()


I have tried ending edit in reverse order and not reseting the current item (needed to update the changes, which works correctly for some strange crazy reason). The problem exists solely with saving a new row.

Does it make a difference that there are two binding navigators? Due to space and design, I opted for 2, but I have tried the addnew on the second.

Hmmm ... Ideas? Sniff | :^) (Asked in VB too. Saw the forms forum after.)
AnswerRe: parent/child bindingsource save on new row does not work Pin
PrissySC10-Dec-12 3:36
memberPrissySC10-Dec-12 3:36 
QuestionDetect if ANY control is clicked inside a form, regardless of the container Pin
Dennis Bork3-Dec-12 3:39
memberDennis Bork3-Dec-12 3:39 
Answercrosspost from C# forum Pin
Eddy Vluggen3-Dec-12 4:47
memberEddy Vluggen3-Dec-12 4:47 
GeneralRe: crosspost from C# forum Pin
Pete O'Hanlon3-Dec-12 4:54
protectorPete O'Hanlon3-Dec-12 4:54 
GeneralRe: crosspost from C# forum Pin
Eddy Vluggen3-Dec-12 4:56
memberEddy Vluggen3-Dec-12 4:56 
AnswerRe: Detect if ANY control is clicked inside a form, regardless of the container Pin
Eddy Vluggen3-Dec-12 5:03
memberEddy Vluggen3-Dec-12 5:03 
AnswerRe: Detect if ANY control is clicked inside a form, regardless of the container [modified] Pin
April Fans27-Dec-12 16:13
memberApril Fans27-Dec-12 16:13 
AnswerRe: Detect if ANY control is clicked inside a form, regardless of the container Pin
jenitshah19-Jan-13 15:59
memberjenitshah19-Jan-13 15:59 
AnswerRe: Detect if ANY control is clicked inside a form, regardless of the container Pin
Simon Bridge4-Feb-13 12:13
memberSimon Bridge4-Feb-13 12:13 
QuestionWix based installer does not execute custom action on upgrade Pin
Prasanth Vijayan11-Nov-12 23:12
memberPrasanth Vijayan11-Nov-12 23:12 
Questionhow to ad a new records into database using data binding? Pin
LearnByHeart26-Oct-12 23:42
memberLearnByHeart26-Oct-12 23:42 
AnswerRe: how to ad a new records into database using data binding? Pin
Eddy Vluggen28-Oct-12 0:39
memberEddy Vluggen28-Oct-12 0:39 
GeneralRe: how to ad a new records into database using data binding? Pin
LearnByHeart28-Oct-12 22:36
memberLearnByHeart28-Oct-12 22:36 
GeneralRe: how to ad a new records into database using data binding? Pin
Eddy Vluggen28-Oct-12 23:28
memberEddy Vluggen28-Oct-12 23:28 
QuestionCurrency formatting Pin
MandyHouse22-Oct-12 15:34
memberMandyHouse22-Oct-12 15:34 
AnswerRe: Currency formatting [modified] Pin
Eddy Vluggen23-Oct-12 23:56
memberEddy Vluggen23-Oct-12 23:56 
QuestionControls Opacity Pin
ALIJavany11-Oct-12 1:33
memberALIJavany11-Oct-12 1:33 
AnswerCross post Pin
Wes Aday11-Oct-12 1:38
memberWes Aday11-Oct-12 1:38 
AnswerRe: Controls Opacity Pin
SoyDesarrollador.net12-Oct-12 9:03
memberSoyDesarrollador.net12-Oct-12 9:03 
GeneralRe: Controls Opacity Pin
Richard MacCutchan12-Oct-12 9:07
mvpRichard MacCutchan12-Oct-12 9:07 
GeneralRe: Controls Opacity Pin
SoyDesarrollador.net12-Oct-12 9:15
memberSoyDesarrollador.net12-Oct-12 9:15 
GeneralRe: Controls Opacity Pin
Richard MacCutchan12-Oct-12 9:32
mvpRichard MacCutchan12-Oct-12 9:32 
GeneralRe: Controls Opacity Pin
lukeer3-Dec-12 21:17
memberlukeer3-Dec-12 21:17 
Question.bat execution Or something else? Pin
Jason Sani10-Oct-12 9:43
memberJason Sani10-Oct-12 9:43 
AnswerRe: .bat execution Or something else? Pin
Eddy Vluggen10-Oct-12 11:41
memberEddy Vluggen10-Oct-12 11:41 
AnswerRe: .bat execution Or something else? Pin
Dave Kreskowiak10-Oct-12 13:04
mvpDave Kreskowiak10-Oct-12 13:04 
AnswerRe: .bat execution Or something else? Pin
Richard Andrew x6410-Oct-12 15:01
memberRichard Andrew x6410-Oct-12 15:01 
QuestionCrystal reports in visual studio 2010 for wpf application Pin
priom2227-Sep-12 18:06
memberpriom2227-Sep-12 18:06 
AnswerRe: Crystal reports in visual studio 2010 for wpf application Pin
Richard MacCutchan27-Sep-12 21:58
mvpRichard MacCutchan27-Sep-12 21:58 
QuestionStrange Design Problems With Infragistics Controls Pin
Kevin Marois26-Sep-12 5:41
memberKevin Marois26-Sep-12 5:41 
AnswerRe: Strange Design Problems With Infragistics Controls Pin
BillWoodruff10-Oct-12 5:37
memberBillWoodruff10-Oct-12 5:37 
QuestionInvoking excel thru a .bat file Pin
ForNow19-Sep-12 9:42
memberForNow19-Sep-12 9:42 
AnswerRe: Invoking excel thru a .bat file Pin
Wes Aday19-Sep-12 10:42
memberWes Aday19-Sep-12 10:42 
GeneralRe: Invoking excel thru a .bat file Pin
ForNow19-Sep-12 17:15
memberForNow19-Sep-12 17:15 
GeneralRe: Invoking excel thru a .bat file Pin
Richard MacCutchan19-Sep-12 21:21
mvpRichard MacCutchan19-Sep-12 21:21 
Question.docx to .pdf conversion Pin
Member 857432717-Sep-12 3:31
memberMember 857432717-Sep-12 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 25 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid