日期:2014-05-17  浏览次数:20395 次

aspx页面上加这种代码是什么意思
aspx页面上加这种代码是什么意思,没有关联的.cs文件

<script runat="server">

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

    End Sub
</script>
spx .net

------解决方案--------------------
引用:
Quote: 引用:

Quote: 引用:

aspx页面上加这种代码是什么意思,没有关联的.cs文件

<script runat="server">

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

    End Sub
</script>


把后台摆到页面上来写了!

Sub和ByVal?算什么类型


你这是VB写法!
------解决方案--------------------
这是VB.NET的写法。