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
Explain the asp.net session state modes.
Explain repository pattern in asp.net mvc? : asp.net mvc
How to add DateTime Control in normal DataGrid Server Control?
List down the sequence of methods called during the page load.
What is the difference between session and viewstate?
Why do we need master page in asp.net?
What is the use of view state?
What is an example of an application service provider?
What is difference between session and viewstate?
Contrast OOP and SOA. What are tenets of each ?
What are the security types in asp.net?
Explain significance of routing? : asp.net mvc
how to debug web services on consumer side?
What are HTTP handlers in ASP.NET?
How dataadapter.fill works?