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
 

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