Corey Scheich
asked on
Binding through Form Designer
Ok I have a Form with a listbox and a DataSet dropped onto it. In the Form Designer I get the schema of the DataSet which shows the 3 tables, their collumns and their relationships. How do I DataBind this using the form designer to the listbox. Under the listbox.DataSource it is showing the Dataset but not the individual tables, how do I specify using formdesigner which table to attach to, because when I simply use the dataset and try to set the DisplayMember or ValueMember I am getting "Invalid callback" or something of the sort.
Any Help is appreciated.
Corey2
Any Help is appreciated.
Corey2
ASKER
I suppose I will check. That sure would make sence.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That is it. I tried Playing the form in debug mode and the error I got said "There is already a relationship Named "Jobs"" or something to that affect. I will have to trouble shoot that. to see where it is getting doulbed up.
Corey2
Corey2
ASKER
I cleared the error and then was able to Select the DataSource then I was able to select the table and column in the DisplayMember and ValueMember sections.
Thanks
Corey2
Thanks
Corey2
Are you sure your dataset isn't corrupt ?