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: ...