|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Data Find Row and DatabindingI 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 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 > 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 > |
|||||||||||||||||||||||