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 the difference between Classic ASP and ASP.Net?
How you can return View from ASP.NET Web API method?
How to retrieve user name in case of Window Authentication?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
Where is the session stored?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
Is asp net front end or backend?
Do cookies store passwords?
What is difference between Fragment Caching and Page Caching in ASP.NET?
How do u optimize a query in asp.net?
What are standard controls?
What is http only cookie?
What is the difference between session.abandon() vs clear()?
What is an il?