开发者

How do I find which eventargs class to use in asp.net control event

开发者 https://www.devze.com 2023-02-06 03:15 出处:网络
If I add an event to my control in the markup, eg in and EntityDa开发者_开发问答taSource add a OnUpdating,

If I add an event to my control in the markup, eg in and EntityDa开发者_开发问答taSource add a OnUpdating, how can I find the method parameter list?

eg how do I know to put in

(object sender, EntityDataSourceChangingEventArgs e)

instead of

(object sender, EventArgs e)

In a FormView OnDataBinding event is there a more specific EventArgs class than

(object sender, EventArgs e)


It is defined by the event signature. Not much you can, but rewrite the code if you can.


In that case I would just type in EntityDataSource OnUpdating into google....almost always within the first few results I'll see an example with the correct parameter list.

0

精彩评论

暂无评论...
验证码 换一张
取 消