asp.net中三种事件驱动方式

ASP.NET支持三大类事件,包括在浏览器执行的HTML事件、页面加载特定阶段自动运行代码的页面级事件(如用户点击提交按钮触发的回发),以及对用户操作控件做出反应的服务器控件事件。这些事件提升用户体验,减少代码量且便于维护。
ASP.NET supports three major groups of events. The first comprises HTML events that are
executed on the browser. The second group includes the ASP.NET page-level events that allow?? you to automatically run code at certain stages while the page loads. A particularly important? page-level event is a postback, which is triggered whenever a page is resubmitted to the server after? the user clicks on a submit button. Lastly, you have a group of ASP.NET server control events that? allow you to react to the user clicking on or typing into controls on the Web page.? The great range of events available in ASP.NET improves the user experience, reduces the amount? of code you write, and makes the resulting code much easier to maintain.

? The definition of an event
? ASP.NET page events
? ASP.NET Web control events
? Event-driven programming
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值