Page_Load中和的onLoad的区别 [英] Difference between page_load and onLoad

查看:167
本文介绍了Page_Load中和的onLoad的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是ASP.NET codebehind Page_Load中和的onLoad功能之间的区别是什么?

What is difference between page_load and onLoad functions in ASP.NET codebehind?

推荐答案

负荷是事件和的OnLoad是方法调用时引发该事件 它只是基类的实现,做它,当然,因此 需要从派生类称为使事件工作)

Load is the event and OnLoad is a method that raises that event when called it's just base class implementation that does it of course, and therefore needs to be called from deriving classes so that events work)

这篇关于Page_Load中和的onLoad的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆