If you are using two select queries and retrieving data. how
do you access second query's result set using data reader?
Answer / uday kumar vuriti
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 ? | 27 Yes | 0 No |
Differentiate between client-side and server-side validations in web pages.
Which tab of the web site administration tool do you use to manage application setting ,debug and tracing?
Explain the difference between webfarm and webgardens in .net?
What are asynchronous callbacks ?
6 Answers Accenture, BirlaSoft,
What is difference between ispostback and autopostback in asp net?
what is new debug tools in asp.net ?
How many types are there session
What is IPostBack? How to use it?
What is the advantage of mvc over asp.net? : Asp.Net MVC
WHAT IS BOXING? HOW WE CAN USE IT?
How can we prevent browser from caching an aspx page?
What is cas?