Rafael Soteldo
4/27/2008 12:24:00 AM
Hi Hertha:
Whenever I use Select, it doesn't set the position of the BindingSources
attached to the DataTable.
The question is: How do I position a BindingSource (attached to a DataTable)
to a row which position in the DataTable is unknown.
Select returns a Row[], if the row I'm looking fo is unique, the array will
have only one row, but, what's it's relative position in the table?
The DataTable itself doen't have a CurrencyManager to help us know the
relative position of each row.
I still don't know what to do here...
Why am I asking this:
I dragged several fields from the DataSource window to my form. It created
several textboxes, a BindingNavigator and a BindingSource which will be the
intermidiate layer between the DataTable and the mentioned controls.
The only way a user has to look for a row in the DataTable with this
interface is to navigate through several rows until he (she) finds it.
I want to give the user the ability to also specify a field value (for
example "J Lo" in a DataTable People), to go directly to...
--
Rafael Soteldo
"Hertha Steck" wrote:
> Rafael Soteldo schrieb:
> > I'll try it...
> >
> > thanks
>
> I'd use the "select" method of the DataTable connected to the
> DataSource. All the details in the SDK documentation.
>
> HTH
> Hertha
>