This is the sixth in a series of videos which introduce object oriented programming (OOP) using Visual Basic.NET (VB.NET). This video demonstrates how to write a method overload that will save the property values of an object into a database, thereby saving the object’s state. The method overload shown makes use of ActiveX Data Objects (ADO) to achieve this; specifically, the Connection object to establish a connection with a Microsoft Access database, and the Command object to execute an SQL Insert statement. Later videos in the series will cover constructors, inheritance and method overriding.
10 Comments