Murach's Visual Basic 2005
How to use data sources with databases (part 1)

Visual Studio 2005 makes it easier than ever to generate Windows Forms that work with data that's available from a data source. In this chapter, you'll learn how to develop forms that work with data that's stored in a database. However, you can use similar techniques to work with data from web services or from business objects.

Chapter 14 How to use data sources with databases (part 1)
How to create a data source 424
How to use the Data Sources window 424
How to start the Data Source Configuration Wizard 426
How to choose a data source type 426
How to create a connection to a database 428
How to choose database objects for a data source 430
The schema file created by the Data Source Configuration Wizard 432
How to use a data source with a DataGridView control 434
How to generate a DataGridView control from a data source 434
How to edit the properties of a DataGridView control 436
How to edit the columns of a DataGridView control 438
A Product Maintenance application that uses a DataGridView control 440
How to handle data errors 442
How to handle data provider errors 442
How to handle ADO.NET errors 444
How to handle data errors for a DataGridView control 446
How to use a data source with TextBox controls 448
How to change the controls associated with a data source 448
How to generate labels and text boxes from a data source 450
How to format bound data 452
A Product Maintenance application that uses TextBox controls 454
More skills for working with data sources 458
A Customer Maintenance form that uses two data tables 458
How to bind a combo box to a data source 460
How to create a parameterized query 462
How to use code to work with a parameterized query 464
How to view the schema for a dataset 466
How to preview the data for a query 468
How to interpret the generated SQL statements 470




Murach's VB 2005

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.