Where should stuff be done in an ASP.NET page?

前端 未结 6 1480
名媛妹妹
名媛妹妹 2020-12-30 13:20

I\'m very new to ASP.NET and, after beating my head on a few problems, I\'m wondering if I\'m doing things wrong (I\'ve got a bad habit of doing that). I\'m interested in le

6条回答
  •  [愿得一人]
    2020-12-30 13:24

    Basically try and do it in Page_Load and if that doesn't work, try it in either Page_Init or Page_Render. Normally one of them works :) That's the scientific approach.

提交回复
热议问题