We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

How to make an event firing when me.BindingContext(dtDataTable).Position changed

maidinhtai
maidinhtai asked
on
Medium Priority
252 Views
Last Modified: 2012-06-21
I think it is posible. But I don't know how to do it. Something like this:
Private Sub dtDataTable_PositionChanged(sender as Object, e as ???) handles me.BindingContext(dtDataTable).PositionChanged
..............
End Sub
Thank you.
Comment
Watch Question

Commented:
I'm not sure you can do it in the precise way you suggest: I've never tried it.  But you certainly can if you use the BindingContext to derive a CurrencyManager (which is what I would normally do) or - as in the demo in this link - a BindingManagerBase

http://msdn2.microsoft.com/en-us/library/system.windows.forms.bindingmanagerbase.positionchanged.aspx

Roger

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Exactly. Thank you.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.