Exposing the Data Table to the World

Let’s compile the control. Open the form designer for frmCtlTest. If no connection or Select statement is set, then set them to Northwind and Select * From Customers, respectively. Now click on the DataGrid. Find the DataSource property. Drop down the list. What gives? The data control is not listed as a valid data source. What gives?

We have to implement an interface. What do we mean by implementing an interface? If you’ve designed ActiveX components in VB 6 you will have some idea. An interface is simply a predefined set of method signatures. This differs from a base class because the interface defines the methods. It cannot have any functionality and it cannot be inherited from. When we implement an interface, ...

Get ADO.NET Programming in Visual Basic™ .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.