开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜