4

嗯,我猜我的问题在标题中:

如何在没有代码隐藏文件的 VB.NET aspx 页面中打开 Option Strict / Infer?

<%@ Page Language="VB" %>
<script runat="server">
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

    End Sub
</script>
4

2 回答 2

13
<%@ Page Language="VB" Strict="true" %>
于 2008-10-17T18:07:20.437 回答
3

将第一行更改为

<%@ Page Language="VB" strict="True" %>
于 2008-10-17T18:08:40.700 回答