ASP.net page without a code behind

前端 未结 6 1857
小鲜肉
小鲜肉 2020-12-13 11:48

I have an ASP.Net page with a C# code behind.

However, I\'ve been asked to not use a code behind - so that it will be easier to deploy in SharePoint.

Is the

6条回答
  •  长情又很酷
    2020-12-13 12:38

    You can actually have all the code in the aspx page. As explained here.

    Sample from here:

    <%@ Language=C# %>
    
       
       
          

提交回复
热议问题