Murach's C# 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.
|
|
|
|
How to use the Data Sources window |
526 |
|
How to start the Data Source Configuration
Wizard |
528 |
|
How to choose a data source type |
528 |
|
How to create a connection to
a database |
530 |
|
How to choose database objects
for a data source |
532 |
|
The data source and schema file
created by the Data Source Configuration Wizard |
534 |
|
|
How to generate a DataGridView
control from a data source |
536 |
|
How to edit the properties of
a DataGridView control |
538 |
|
How to edit the columns of a DataGridView
control |
540 |
|
A Product Maintenance application
that uses a DataGridView control |
542 |
|
|
How to handle data provider errors |
544 |
|
How to handle ADO.NET errors |
546 |
|
How to handle data errors for
a DataGridView control |
548 |
|
|
How to change the controls associated
with a data source |
550 |
|
How to generate labels and text
boxes from a data source |
552 |
|
How to format bound data |
554 |
|
A Product Maintenance application
that uses TextBox controls |
556 |
|
|
A Customer Maintenance form that
uses two data tables |
560 |
|
How to bind a combo box to a data
source |
562 |
|
How to create a parameterized
query |
564 |
|
How to use code to work with a
parameterized query |
566 |
|
How to preview the data for a
query |
568 |
|
How to view the schema for a dataset |
570 |
|
How to interpret the generated
SQL statements |
572 |
|
 |
|
|
|
|
© Copyright 1998-
Mike Murach & Associates, Inc. All rights reserved.
|