ASP.Net - Online Exam Test Papers | ASP.Net - MCQs[multiple choice questions and answers ] | ASP.Net - Mock Test Papers | ASP.Net - Practice Papers | ASP.Net - Sample Test Papers |

Question:
How do you execute multiple SQL statements using a DataReader?

1. Call the ExecuteReader method of a single Command object twice.

2.Set the Command.CommandText property to multiple SQL statements delimited by a semicolon.

3.Set the Command.CommandType property to multiple result sets.

4.None of the above.

Posted Date:-2022-02-01 11:48:06


More MCQS Questions and answers

Search