Click here to Skip to main content
15,887,421 members
Home / Discussions / C#
   

C#

 
QuestionUsing MCISendString for games Pin
pokabot10-Sep-07 8:51
pokabot10-Sep-07 8:51 
QuestionDragDrop problem Pin
Skippums10-Sep-07 8:48
Skippums10-Sep-07 8:48 
AnswerRe: DragDrop problem Pin
Skippums11-Sep-07 4:37
Skippums11-Sep-07 4:37 
QuestionWord docs Pin
jblouir10-Sep-07 8:11
jblouir10-Sep-07 8:11 
AnswerRe: Word docs Pin
Christian Graus10-Sep-07 9:54
protectorChristian Graus10-Sep-07 9:54 
GeneralRe: Word docs Pin
jblouir10-Sep-07 13:41
jblouir10-Sep-07 13:41 
QuestionOpening third-party software in windows Pin
Skippums10-Sep-07 7:50
Skippums10-Sep-07 7:50 
Questionbinding question Pin
kboyette10-Sep-07 7:41
kboyette10-Sep-07 7:41 
I have a fairly simple winform that has several textBoxes, one listbox and one combobox. I have the listBox bound to a field in a table (table1), when a user clicks on an item in the listBox the textBoxes are bound to that table so they display the other data columns for that record. The comboBox is bound to another table (table2) in the dataset that is merely a lookup table. The "Selected Value" of the combobox is bound to one of the colums in table1. This results in the appropriate value being selected in the combobox list. The comboBox has been changed to type "DropDownList" so the user cant type in the box, they can just select one of the pre-existing values in the comboBox. This all works great. The problem occurs when I try to change the selected value in the comboBox. The value does not update in the database when I call the update() method of the table adapter. If I change one of the textBoxes I call a function that ends the current edit ------this.BindingContext[ds_form_contacts, "table1"].EndCurrentEdit(); ------- then calls table1TableAdapter.Update() . This works fine, but if I change the comboBox, I call the same function and the value for the comboBox does not update. If I change the comboBox value then change one of the textBoxes the newly selected value for the comboBox will get updated in the database. I can post code if it helps. All of the binding was done in the designer in vs2005

thanks, -Kevin
QuestionRe: binding question Pin
kboyette11-Sep-07 14:56
kboyette11-Sep-07 14:56 
AnswerRe: binding question Pin
kboyette12-Sep-07 10:29
kboyette12-Sep-07 10:29 
GeneralRe: binding question Pin
kboyette12-Sep-07 10:38
kboyette12-Sep-07 10:38 
Questionnot-null-field issue Pin
newbieAl10-Sep-07 7:25
newbieAl10-Sep-07 7:25 
AnswerRe: not-null-field issue Pin
kboyette10-Sep-07 7:45
kboyette10-Sep-07 7:45 
GeneralRe: not-null-field issue Pin
newbieAl10-Sep-07 8:00
newbieAl10-Sep-07 8:00 
GeneralRe: not-null-field issue Pin
Elina Blank10-Sep-07 8:46
sitebuilderElina Blank10-Sep-07 8:46 
GeneralRe: not-null-field issue Pin
kboyette10-Sep-07 8:54
kboyette10-Sep-07 8:54 
GeneralRe: not-null-field issue Pin
newbieAl10-Sep-07 9:18
newbieAl10-Sep-07 9:18 
GeneralRe: not-null-field issue Pin
kboyette10-Sep-07 9:53
kboyette10-Sep-07 9:53 
GeneralRe: not-null-field issue Pin
newbieAl10-Sep-07 10:24
newbieAl10-Sep-07 10:24 
GeneralRe: not-null-field issue Pin
kboyette10-Sep-07 12:01
kboyette10-Sep-07 12:01 
GeneralRe: not-null-field issue Pin
newbieAl11-Sep-07 2:24
newbieAl11-Sep-07 2:24 
GeneralRe: not-null-field issue Pin
newbieAl10-Sep-07 9:07
newbieAl10-Sep-07 9:07 
QuestionWeb Browser control speed&threading Pin
Spacix One10-Sep-07 7:01
Spacix One10-Sep-07 7:01 
Questionnext cell on DataGridView ? Pin
KreaA10-Sep-07 6:05
KreaA10-Sep-07 6:05 
Questionstatic fields for threads in c# Pin
mr.mohsen10-Sep-07 5:04
mr.mohsen10-Sep-07 5:04 

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.