O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Answers to Self-Review Exercises

22.1 a) rows, columns. b) primary key. c) DbContext. d) DataGridView. e) joining. f) foreign key. g) BindingSource.h) DataSource.

22.2 a) False. Multiple rows can have the same value for a foreign key. Providing the same value for the primary key in multiple rows causes the DBMS to report an error, because duplicate primary keys would prevent each row from being identified uniquely. b) True. c) True. d) False. A Binding-Navigator allows users to browse and manipulate data displayed by another GUI control. A DbContext can extract data from a database. e) False. You must call the SaveChanges method of the DbContext to save the changes made back to the database.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required