Umm, I guess my questions in the title:
How do I turn on Option Strict / Infer in a VB.NET aspx page without a code behind file?
<%@ Page Language="VB" %>
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
End Sub
</script>
<%@ Page Language="VB" Strict="true" %>
将顶行更改为
<%@ Page Language="VB" strict="True" %>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.