Click here to Skip to main content
16,010,194 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: newbie Pin
Eddy Vluggen12-Dec-12 3:02
professionalEddy Vluggen12-Dec-12 3:02 
QuestionExcel.XlChartType.xlLine chart not draw using VB.Net Pin
D.Manivelan11-Dec-12 19:32
D.Manivelan11-Dec-12 19:32 
AnswerRe: Excel.XlChartType.xlLine chart not draw using VB.Net Pin
Eddy Vluggen12-Dec-12 3:00
professionalEddy Vluggen12-Dec-12 3:00 
QuestionMake a DataGridView column editable Pin
John Waclawski11-Dec-12 11:01
John Waclawski11-Dec-12 11:01 
AnswerRe: Make a DataGridView column editable Pin
Eddy Vluggen12-Dec-12 2:58
professionalEddy Vluggen12-Dec-12 2:58 
Questionportability/deployment, VB/Database Pin
Member 838594911-Dec-12 4:34
Member 838594911-Dec-12 4:34 
AnswerRe: portability/deployment, VB/Database Pin
Eddy Vluggen11-Dec-12 4:51
professionalEddy Vluggen11-Dec-12 4:51 
GeneralRe: portability/deployment, VB/Database Pin
Member 838594911-Dec-12 5:04
Member 838594911-Dec-12 5:04 
QuestionUSBMuxd Pin
D_Wilbur10-Dec-12 9:19
D_Wilbur10-Dec-12 9:19 
AnswerRe: USBMuxd Pin
Eddy Vluggen11-Dec-12 2:24
professionalEddy Vluggen11-Dec-12 2:24 
Questionneed vb.net DMS system Pin
Beiniam10-Dec-12 0:10
Beiniam10-Dec-12 0:10 
AnswerRe: need vb.net DMS system Pin
Dave Kreskowiak10-Dec-12 2:21
mveDave Kreskowiak10-Dec-12 2:21 
GeneralRe: need vb.net DMS system Pin
Simon_Whale11-Dec-12 5:36
Simon_Whale11-Dec-12 5:36 
AnswerRe: need vb.net DMS system Pin
Paul Conrad13-Dec-12 8:56
professionalPaul Conrad13-Dec-12 8:56 
AnswerRe: need vb.net DMS system Pin
PrissySC26-Dec-12 2:48
PrissySC26-Dec-12 2:48 
Questionparent/child bindingsource save new fails Pin
PrissySC8-Dec-12 11:03
PrissySC8-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
professionalEddy Vluggen11-Dec-12 2:21 
GeneralRe: parent/child bindingsource save new fails Pin
PrissySC26-Dec-12 2:47
PrissySC26-Dec-12 2:47 
Questionread mail from yahoo using yahoo api in vb.net Pin
puvanar7-Dec-12 23:01
puvanar7-Dec-12 23:01 
AnswerRe: read mail from yahoo using yahoo api in vb.net Pin
Eddy Vluggen9-Dec-12 23:14
professionalEddy Vluggen9-Dec-12 23:14 
QuestionMissing Toolbar Pin
No-e6-Dec-12 6:09
No-e6-Dec-12 6:09 
AnswerRe: Missing Toolbar Pin
Peter_in_27806-Dec-12 13:08
professionalPeter_in_27806-Dec-12 13:08 
AnswerRe: Missing Toolbar Pin
Eddy Vluggen6-Dec-12 14:23
professionalEddy Vluggen6-Dec-12 14:23 
QuestionHow to insert xml to dataset.xsd using vb.net? Pin
Akbarblack5-Dec-12 19:20
Akbarblack5-Dec-12 19:20 
QuestionDrawing an image onto a form Pin
tuffhamster2-Dec-12 8:13
tuffhamster2-Dec-12 8:13 

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.