Workshop

This workshop will help reinforce the concepts covered in today's lesson.

Quiz

1:When would you want to catch the InfoMessage event of a connection object?
A1: The InfoMessage event is fired when the data store returns non–result set information. Typically, this includes warnings, row counts, and other supplementary information. You use InfoMessage if you need to catch this information; for example, when a SQL Server stored procedure returns information using a PRINT statement.
2:Where might you store connection strings and why?
A2: Because connection strings often change and because they may contain security information, they should be stored in a safe place that can be modified without recompiling your application. For ASP.NET applications, ...

Get Sams Teach Yourself ADO.NET in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.