Murach's Visual Basic 2008
How to work with data sources and datasets

Visual Studio 2008 has some powerful tools for rapid application development and prototyping of database applications. So in this chapter, you'll get started with database programming by learning how to use the data sources feature to create applications that let you view and maintain the database data.

Chapter 14 How to work with data sources and datasets
How to create a data source 428
How to use the Data Sources window 428
How to start the Data Source Configuration Wizard 430
How to choose a data source type 430
How to choose the connection for a data source 432
How to create a connection to a database 434
How to save a connection string in the app.config file 436
How to choose database objects for a data source 438
The schema file created by the Data Source Configuration Wizard 440
How to use a data source 442
How to generate a DataGridView control from a data source 442
A Product Maintenance application that uses a DataGridView control 444
How to change the controls associated with a data source 446
How to generate detail controls from a data source 448
A Customer Maintenance application that uses TextBox controls 450
How to handle data errors 452
How to handle data provider errors 452
How to handle ADO.NET errors 454
How to handle data errors for a DataGridView control 456
How to use the Dataset Designer 458
How to view the schema for a dataset 458
How to use the Query Builder 460
How to preview the data for a query 462
How to interpret the generated SQL statements 464




Murach's VB 2008

Learn more about this book

View the table of contents

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.