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 server side session?
How to implement role based security in asp.net mvc? : Asp.Net MVC
Which type of state management is provided by Query String in ASP.NET?
What are the parts of an http response?
What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
Explain the use of view state?
Can we use html in asp.net?
Can I tap into other windows livetm services?
Describe the events in the life cycle of a web application.
If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
What is the difference between Classic ASP and ASP.Net?
How response object is related to asp's response object?
What are the different authentication modes in asp.net?
What is data caching?