for RuBoard

These quiz questions are designed to test your knowledge of the material covered in this chapter. The answers to the quiz questions can be found in Appendix A, "Answers to Quizzes."



What is the purpose of the ExecuteNonQuery() method of the Command object?


True or false: Using the ExecuteNonQuery() method to execute a query that returns data will result in an exception error being thrown from the data layer.


Given that the SQL command to create a new table in your data source is

 CREATE TABLE TableName    (     Field1 int,     Field2 varchar(50),     Field3 int    ) 

Using the examples in this hour as a guide, create a Windows form or Web form that will enable you to create a database table. The table name and field names should be dynamically named based on user input.

for RuBoard

Sams Teach Yourself ADO. NET in 24 Hours
Sams Teach Yourself ADO.NET in 24 Hours
ISBN: 0672323834
EAN: 2147483647
Year: 2002
Pages: 237 © 2008-2017.
If you may any questions please contact us: