Passing Parameters to an Event

  • Thread starter Thread starter Lucas Tam
  • Start date Start date
L

Lucas Tam

Hi all,

What is the best way to pass parameters to an event?

I have a dataadapter.update that fires, and I am capturing the RowUpdated
event. How do I pass some custom pamaeters into this event?

Thanks!
 
Hi Lucas Tam

You can do that in two ways,

1. By inheriting Dataadapter class to a class, and redifining your own event with all the custom parameters which you want and raise the event from the Dataadapter.update event

2. Have some global variables and set some data, use them in the event

I hope, it will help you

With regards

Sadha Sivam
Malleable Minds Software Pvt Ltd.
Indi
 
Back
Top