|
-
Oct 13th, 2004, 12:50 PM
#1
Thread Starter
Frenzied Member
Park on a data bound record
I've got a screen of mostly text boxes that are data bound, and I'd like to park on a certain record. In this form, when the user clicks the "Previous" button, I move to the previous record like this
Code:
tbORI.DataBindings[0].BindingManagerBase.Position -= 1;
If I want to park on the record where tbORI has the string, say, "123", what's the best way to do this. I'm thinking about iterating through all the records, and if tbORI.Text = "123" park on that one, but wondering if that's the best way.
Thanks,
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|