DataTable Events Check?

  • Thread starter Thread starter localhost
  • Start date Start date
L

localhost

How to determine, through C# code only, if a particular DataTable
already has a RowChanged, etc event already wired up?

Thanks.
 
Hi,

Get the Events property of the datatable to get the list of event handlers
subscribed for the datatable. What you'll get is an EventHandlerList
delegate containing all the handlers.

Regards
Joyjit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top