Answer Posted / shivam kumar
If we have 2 select queries as follws
select * from dept
select * from emp
SqlDataReader dr;
//To Read 1st Select query dept
dr.Read();
//To Read 2nd Select query emp
dr.NextResult();
So the answer is dr.NextResult()
| Is This Answer Correct ? | 12 Yes | 27 No |
Post New Answer View All Answers
What is a SESSION and APPLICATION object?
Why do we need asp.net?
What is role-based security in asp.net?
Define secured sockets layer.
What is a session in programming?
How can we create Tree control in asp.net?
Explain the difference between webfarm and webgardens in .net?
What are the different authentication modes in asp.net?
What is the difference between cache and cookies?
How to use multiple scriptmanager controls in a web page?
What are user controls?
What is difference in .net 1.1 and .net 2.0?
Explain the use of resource manager class in .net.
What role “#&&” plays in a querysting?
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?