I have a DataSet, let's say with two tables: one for jobs, one for
employees. I want to do something like this:
BindingSource bs = new BindingSource();
bs.DataSource = ds;
nav.BindingSource = bs;
However, when I try to do that, I get 1 of 1 records when there are
around 300 records in the job table and 600 in the employee table. How
can I specify which table the BindingNavigator should use when the data
set has more than one? If I just use a DataTable, all is well, but even
if the data set only has one table, I have the same problem.
Thanks!
Bart Mermuys - 26 Oct 2006 21:24 GMT
Hi,
>I have a DataSet, let's say with two tables: one for jobs, one for
> employees. I want to do something like this:
[quoted text clipped - 9 lines]
> set has more than one? If I just use a DataTable, all is well, but even
> if the data set only has one table, I have the same problem.
Set bs.DataMember to the tablename.
HTH,
Greetings
> Thanks!