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
How do you store a value in viewstate and retrieve them?
What is the viewstate in asp.net?
Explain file-based dependency and key-based dependency.
Define dll hell?
What are server side controls?
Name some asp objects?
What is custom events? How to create it?
Difference between .NET and previous version?
What is the usage of DelegatingHandler?
How to use a Master Database in Asp.net?
What is xaml? Are xaml file compiled or built on runtime?
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
What is the difference between runtime version and version?
What is the difference between the response.write() and response.output.write() methods?
What is paging in context of Memory?