Skip to Main Content
VB.Net Web Developer's Guide
book

VB.Net Web Developer's Guide

by Syngress
September 2001
Intermediate to advanced content levelIntermediate to advanced
608 pages
23h 46m
English
Syngress
Content preview from VB.Net Web Developer's Guide
Optimizing, Debugging, and Testing • Chapter 11 533
2. Run the application by selecting Start from the Debug menu.
3. Place an alpha character in the first textbox and select to multiply it by
any number in the right text box.
4. Select Calculate.
You will see that an exception is thrown in the Button1_Click() method.This
exception (System.FormatException) occurred because, as we know, we cannot
convert a string with alpha characters into an integer.We have two ways we can
handle this.We can use a Try…Catch…Finally block and handle the exception, or
we can configure how the compiler should handle this exception.This type of
configuration is done in the Exceptions ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB.NET Core Classes in a Nutshell

VB.NET Core Classes in a Nutshell

Budi Kurniawan, Ted Neward

Publisher Resources

ISBN: 9781928994480