Week 5

This week we talked about exceptions, the error handling mechanism of .NET. I find that beginning programmers do not use exceptions at all or just catch only one (Exception) so I spent considerable time here. Now you learned not only how to handle Framework Class Library’s errors but also to create your own type of exceptions in your own classes.

Then we learned the ADO.NET library to read and write from databases.

Powerpoint files

exceptions

ADO_NET

C# codes discussed in class

dividebyzeronoexceptionhandling_cs

dividebyzerotest DivideByZeroTest_cs

usingexceptions_cs

squareroottest

ADO_download_materials

ADOGuiExamples