Chapter 11. Creating Your Own Data Control

In this chapter, we will create our own .NET version of the VB 6 ADO Data Control, an exercise designed to demonstrate the robust features of ADO .NET. Up until now, we have investigated the ADO .NET components and we have built simple forms using these components. We have discovered that ADO .NET is a much more robust tool than ADO. We have also discovered that it is inherently more complicated. Creating a simple data form with bound controls now requires a minimum of three ADO .NET Data Components, where ADO only required one.

For those of us used to the RAD tools of VB 6, VB .NET seems a bit daunting. I was never a big proponent of using data-bound controls in previous versions of VB because, while ...

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.