ASP.Net/Development/Debug Mode

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

Set debug mode to true

       
<%--  This page has an error --%>       
       
       
<%@ Page Language="VB" Debug="true" %>
<script language="VB" runat="server">
 Sub CreateRunTimeError
 dim intCounter as integer
 intCounter = "Test"
 response.write ("The value of counter is :" & intCounter)
 End sub
</script>
<%
 CreateRunTimeError()
%>