We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Databinding problem

Thread ID:




4719 May 28,2003 07:55 AM UTC WinForms 0
Tags: FAQ
Asked On May 28, 2003 07:55 AM UTC

Hello everybody, First of all sorry for my english.... I have a problem with databing and dataset update example situation.... my form contains: Textbox1 Textbox2 Combobox1 my Dataset contains 3 table: Author ----< Book ----< Publisher ----< Relationship) On my form I begin the binding in the following way: Me.Textbox1.DataBindings.Add("Text", ds, "Author.Name") Me.Textbox2.DataBindings.Add("Text", ds, "Publisher.pubName") Me.Combobox1.DataSource = ds.Tables("Book") Me.Combobox1.DisplayMember = "Title" Me.Combobox1.ValueMember = "Title" Me.Combobox1.DataBindings.Add("SelectedValue", ds, "Author.Title") Ok now I add a new author, I fill my form end at the end I call the update function. sdaAutore.Update(dataset.Tables!Author) And here begins my problem! The author table as the following fields: AuthorID Name pubName Title Where AuthorID field as identity; Name field is bound to textbox1; Title field is bound to combobox1; The question is how can I save the PubName value in my dataset? Thanx Raphael


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon