Chapter 3. Using Data Commands and DataReaders
After completing this chapter, you will be able to:
Create a Data Command at design time and at run time.
Configure a Data Command in Microsoft Visual Studio and at run time.
Configure the Parameters collection in Visual Studio.
Create and configure a Parameter at run time.
Set Parameter values.
Execute a command by using a Data Command.
Create a DataReader at run time.
Retrieve DataReader properties.
Execute the methods of the DataReader.
The Connection object that we examined in Chapter 2 represents the physical connection to a data source, the conduit for exchanging information between an application and the data source. Two Microsoft .NET Framework objects work in conjunction to actually retrieve the data: ...
Get Microsoft® ADO.NET 2.0 Step by Step, 2nd Edition 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.