Click here to Skip to main content
13,142,065 members (53,164 online)

Visual Basic

 
QuestionUSBMuxd Pin
D_Wilbur10-Dec-12 9:19
memberD_Wilbur10-Dec-12 9:19 
AnswerRe: USBMuxd Pin
Eddy Vluggen11-Dec-12 2:24
memberEddy Vluggen11-Dec-12 2:24 
Questionneed vb.net DMS system Pin
Member 967170910-Dec-12 0:10
memberMember 967170910-Dec-12 0:10 
AnswerRe: need vb.net DMS system Pin
Dave Kreskowiak10-Dec-12 2:21
mvpDave Kreskowiak10-Dec-12 2:21 
GeneralRe: need vb.net DMS system Pin
Simon_Whale11-Dec-12 5:36
memberSimon_Whale11-Dec-12 5:36 
AnswerRe: need vb.net DMS system Pin
Paul Conrad13-Dec-12 8:56
memberPaul Conrad13-Dec-12 8:56 
AnswerRe: need vb.net DMS system Pin
PrissySC26-Dec-12 2:48
memberPrissySC26-Dec-12 2:48 
Questionparent/child bindingsource save new fails Pin
PrissySC8-Dec-12 11:03
memberPrissySC8-Dec-12 11:03 
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 | :^)
AnswerRe: parent/child bindingsource save new fails Pin
Eddy Vluggen11-Dec-12 2:21
memberEddy Vluggen11-Dec-12 2:21 
GeneralRe: parent/child bindingsource save new fails Pin
PrissySC26-Dec-12 2:47
memberPrissySC26-Dec-12 2:47 
Questionread mail from yahoo using yahoo api in vb.net Pin
puvanar7-Dec-12 23:01
memberpuvanar7-Dec-12 23:01 
AnswerRe: read mail from yahoo using yahoo api in vb.net Pin
Eddy Vluggen9-Dec-12 23:14
memberEddy Vluggen9-Dec-12 23:14 
QuestionMissing Toolbar Pin
No-e6-Dec-12 6:09
memberNo-e6-Dec-12 6:09 
AnswerRe: Missing Toolbar Pin
Peter_in_27806-Dec-12 13:08
memberPeter_in_27806-Dec-12 13:08 
AnswerRe: Missing Toolbar Pin
Eddy Vluggen6-Dec-12 14:23
memberEddy Vluggen6-Dec-12 14:23 
QuestionHow to insert xml to dataset.xsd using vb.net? Pin
Akbarblack5-Dec-12 19:20
memberAkbarblack5-Dec-12 19:20 
QuestionDrawing an image onto a form Pin
tuffhamster2-Dec-12 8:13
membertuffhamster2-Dec-12 8:13 
AnswerRe: Drawing an image onto a form Pin
Eddy Vluggen3-Dec-12 0:53
memberEddy Vluggen3-Dec-12 0:53 
Questionprogramming thesis VB.net Pin
enzomatriz30-Nov-12 14:48
memberenzomatriz30-Nov-12 14:48 
AnswerRe: programming thesis VB.net Pin
Dave Kreskowiak1-Dec-12 3:17
mvpDave Kreskowiak1-Dec-12 3:17 
AnswerRe: programming thesis VB.net Pin
Zaf Khan1-Dec-12 10:01
memberZaf Khan1-Dec-12 10:01 
QuestionTAPI3 Call Id ?? Pin
trashambishion30-Nov-12 11:20
membertrashambishion30-Nov-12 11:20 
AnswerRe: TAPI3 Call Id ?? Pin
Eddy Vluggen30-Nov-12 23:36
memberEddy Vluggen30-Nov-12 23:36 
GeneralRe: TAPI3 Call Id ?? Pin
trashambishion4-Dec-12 9:30
membertrashambishion4-Dec-12 9:30 
GeneralRe: TAPI3 Call Id ?? Pin
Eddy Vluggen4-Dec-12 10:12
memberEddy Vluggen4-Dec-12 10:12 

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.


Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 17 Sep 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid