Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Refresh() Method
Message
From
08/07/2004 01:49:46
 
 
To
08/07/2004 01:45:59
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00921607
Message ID:
00921842
Views:
11
Thanks Bonnie, I was already typing the following to you in another message.

I know that Find() might not even be the approach I might need, because it only works on a PK. foreach'ing through the DataTable wouldn't be offensive to me, if I can pass in a fieldname and lookup value. And have it move the record pointer so the listbox would show found record...

I'll look at BindContext more...

Good nite. ;)


>Darn, wouldn't you know it would be a question that I don't have an answer for off the top of my head. I haven't used .Find(), so I have no practical experience with it and, as it's late and I'm ready to hit the sack, I don't have time to research it right now. The "correct" way to move to the right row would be to mess with the BindingContext[].Position, but I don't know if there's a built-in way to get there when using the .Find() or not.
>
>Sorry I can't be more help right now. If you haven't figured out another way by tomorrow (or if someone else doesn't suggest something), perhaps I can take a quick look at it in the morning. Sorry. =(
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform