Murach's Beginning Visual Basic .NET

This chapter shows you how to work with bound controls, parameterized queries, and data exceptions in an ADO.NET application. At the end, you'll have a good understanding of the complexities involved in developing database applications in the real world.

Chapter 18 How to work with bound controls and parameterized queries
How to use bound controls to display individual data columns 580
A Vendor Display form that uses bound controls 580
How to bind text box controls 582
How to navigate through the rows in a data table 584
The property settings for the Vendor Display form 586
The code for the Vendor Display form 588
How to use bound controls to add, update, and delete data rows 592
A Vendor Maintenance form that uses bound controls 592
How to bind combo box and list box controls 594
How to add, update, and delete data rows 596
The property settings for the Vendor Maintenance form 598
The code for the Vendor Maintenance form 600
How to use a parameterized query to retrieve data 608
A Vendor Maintenance form that uses a parameterized query 608
How to create a parameterized query 610
The code for the Vendor Maintenance form 612
How to handle data exceptions 622
How to handle ADO.NET errors 622
How to handle data provider errors 624
How to handle update errors 626
Perspective 628
t




Murach's Beginning Visual Basic .NET

Learn more about this book

Add this book to your cart