Home All Groups Group Topic Archive Search About

Data Find Row and Databinding

Author
26 Nov 2004 11:13 PM
Jeronimo Bertran
I have create a form that is databound to a dataset.   I am able to move
through the dataset by using the BindingManagerBase.Position.  However, I
need to be able to jump to a specific row in my dataset.   I am finding the
desired row in the dataset by using the Find Method in the
DataRowCollection but don't know how to set that row to be the current row
used by the BindingManager.

Thanks,

Jeronimo

Author
27 Nov 2004 8:39 AM
Nigel Armstrong
Hi Jeronimo

Why don't you just load a default bitmap from a file or embedded resource if
you have a null and return that as e.Value...

Nigel Armstrong

Show quote
"Jeronimo Bertran" wrote:

> I have create a form that is databound to a dataset.   I am able to move
> through the dataset by using the BindingManagerBase.Position.  However, I
> need to be able to jump to a specific row in my dataset.   I am finding the
> desired row in the dataset by using the Find Method in the
> DataRowCollection but don't know how to set that row to be the current row
> used by the BindingManager.
>
> Thanks,
>
> Jeronimo
>
Author
27 Nov 2004 8:43 AM
Nigel Armstrong
Hi Jeronimo

Have you tried the Find method in the DataView?

Nigel Armstrong

Show quote
"Jeronimo Bertran" wrote:

> I have create a form that is databound to a dataset.   I am able to move
> through the dataset by using the BindingManagerBase.Position.  However, I
> need to be able to jump to a specific row in my dataset.   I am finding the
> desired row in the dataset by using the Find Method in the
> DataRowCollection but don't know how to set that row to be the current row
> used by the BindingManager.
>
> Thanks,
>
> Jeronimo
>

AddThis Social Bookmark Button