ASP.NET page_init event?

后端 未结 7 1424
梦谈多话
梦谈多话 2021-02-01 17:52

I am using ASP.NET 3.5 and i used earlier 1.1 i am having difficulty to find where can i attach/declare the page init event ?

In 1.1 there was auto generated code which

7条回答
  •  礼貌的吻别
    2021-02-01 18:20

    For those using asp/vb.net you need to declare in code behind as: Protected Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Init

提交回复
热议问题