Untyped DataSets
Now that we have expounded all the reasons to not use them, let’s look at how to create an untyped DataSet. There are two types of untyped DataSets. The first type is the kind we have been discussing up until now, the DataSet that is configured at runtime. The other type is the kind that is configured manually, without using a DataAdapter. This kind of untyped DataSet is created using the design-time properties and methods of the DataSet itself. One of the reasons for using this type of DataSet is when you are not using data from a database. You could be creating an organized, table-style DataSet from user data entry, or you may not have connectivity to a database and you want the user to enter data to be updated to the database ...
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.