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
 
Back
Top