ASP NET Questions


Q.  How do you execute multiple SQL statements using a DataReader?

a. Call the ExecuteReadermethod of two Command objects and assign the results tothe same instance of a DataReader.
b. Call the ExecuteReadermethod of a single Command object twice.
c. Set the Command.CommandTextproperty to multiple SQL statements delimited by a semicolon.
d. Set the Command.CommandTypeproperty to multiple result sets.



 
 

    Discussion

Post your comment / Share knowledge