2013年9月25日 星期三

執行期錯誤try---end try


<%
Dim a, b, c As Integer
a = 10
b = 0
Response.Write("a = " & a & "
")
Response.Write("b = " & b & "
")
Tryc = a / b
Catch e As Exception
Response.Write("執行期錯誤 : " & e.ToString() & "
")
FinallyResponse.Write(a & " / " & b & " = " & c)
End Try%>

沒有留言:

張貼留言