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" %>
Change the top line to
<%@ Page Language="VB" strict="True" %>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With