Click here to Skip to main content
15,912,329 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Connection Pooling problem Pin
Wendelius5-Jan-09 22:18
mentorWendelius5-Jan-09 22:18 
GeneralRe: Connection Pooling problem Pin
ruanr6-Jan-09 20:14
ruanr6-Jan-09 20:14 
GeneralRe: Connection Pooling problem Pin
Wendelius7-Jan-09 0:36
mentorWendelius7-Jan-09 0:36 
AnswerRe: Connection Pooling problem Pin
Roger Wright6-Jan-09 2:12
professionalRoger Wright6-Jan-09 2:12 
AnswerRe: Connection Pooling problem Pin
Pete O'Hanlon6-Jan-09 10:50
mvePete O'Hanlon6-Jan-09 10:50 
GeneralRe: Connection Pooling problem Pin
ruanr6-Jan-09 20:17
ruanr6-Jan-09 20:17 
GeneralRe: Connection Pooling problem Pin
Pete O'Hanlon6-Jan-09 22:11
mvePete O'Hanlon6-Jan-09 22:11 
QuestionDatabindings fail to update db Pin
dragon525-Jan-09 20:27
dragon525-Jan-09 20:27 
Hi,

I am using databindings to populate a combobox and several textboxes from a single datatable. When I select a record from the combobox, details of that record are displayed in the textboxes. This part of databinding works fine but when I make changes to the textboxes I want to update those changes back to the database. This update part is not working for me. No runtime errors but the db does not change. Can anyone help me? I am using a typed dataset "dsMySQL". My code is as follows:

// code for form_load
myDataAdapter.Fill(dsMySQL.DaySchoolsTbl);
cbxDaySchools.DataSource = dsMySQL.DaySchoolsTbl;
cbxDaySchools.DisplayMember = "SchoolName";
cbxDaySchools.ValueMember = "SchoolID";
tbxSchoolID.DataBindings.Add("Text",dsMySQL.DaySchoolsTbl,"SchoolID");
tbxSchoolName.DataBindings.Add("Text",dsMySQL.DaySchoolsTbl,"SchoolName");
cbxSchoolType.DataBindings.Add("SelectedIndex",dsMySQL.DaySchoolsTbl,"SchoolType");

// code for save_button
myDataAdapter.Update(dsMySQL.DaySchoolsTbl);
dsMySQL.DaySchoolsTbl.AcceptChanges();
AnswerRe: Databindings fail to update db Pin
Wendelius6-Jan-09 1:34
mentorWendelius6-Jan-09 1:34 
GeneralRe: Databindings fail to update db Pin
dragon526-Jan-09 16:28
dragon526-Jan-09 16:28 
GeneralRe: Databindings fail to update db Pin
Wendelius6-Jan-09 18:14
mentorWendelius6-Jan-09 18:14 
GeneralRe: Databindings fail to update db Pin
dragon528-Jan-09 15:07
dragon528-Jan-09 15:07 
GeneralRe: Databindings fail to update db Pin
Wendelius9-Jan-09 0:00
mentorWendelius9-Jan-09 0:00 
QuestionRequirment to create a web site in which user can create his mail account Pin
rahuladya5-Jan-09 20:11
rahuladya5-Jan-09 20:11 
AnswerRe: Requirment to create a web site in which user can create his mail account Pin
Lev Danielyan5-Jan-09 20:40
Lev Danielyan5-Jan-09 20:40 
AnswerRe: Requirment to create a web site in which user can create his mail account Pin
EliottA6-Jan-09 2:06
EliottA6-Jan-09 2:06 
QuestionHow Can My Code Access "Global" or "Module-Level" Methods from C#? Pin
Curtis Schlak.5-Jan-09 8:34
Curtis Schlak.5-Jan-09 8:34 
AnswerRe: How Can My Code Access "Global" or "Module-Level" Methods from C#? Pin
Pete O'Hanlon5-Jan-09 9:14
mvePete O'Hanlon5-Jan-09 9:14 
GeneralRe: How Can My Code Access "Global" or "Module-Level" Methods from C#? Pin
Curtis Schlak.5-Jan-09 13:55
Curtis Schlak.5-Jan-09 13:55 
QuestionRun .NET ActiveX control on IE 7.0 machine that doesnt have .NET installed.new Pin
Dattatraya K5-Jan-09 2:52
Dattatraya K5-Jan-09 2:52 
AnswerRe: Run .NET ActiveX control on IE 7.0 machine that doesnt have .NET installed.new Pin
Dave Kreskowiak5-Jan-09 3:46
mveDave Kreskowiak5-Jan-09 3:46 
Question[Message Deleted] Pin
hemakrishnan4-Jan-09 23:08
hemakrishnan4-Jan-09 23:08 
AnswerRe: Integrating HtmlHelp (.chm) file with wpf xbap application Pin
Dave Kreskowiak5-Jan-09 5:33
mveDave Kreskowiak5-Jan-09 5:33 
QuestionClick once updation issue.... Pin
nileshbahirshet4-Jan-09 3:38
nileshbahirshet4-Jan-09 3:38 
AnswerRe: Click once updation issue.... Pin
Not Active4-Jan-09 10:51
mentorNot Active4-Jan-09 10:51 

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.