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 |
how we declare interface
Describe a diffgram ? Write any one use of that?
Where do we store our connection string in asp.net application?
What is meant by asp.net?
What is the difference between c# and .net?
# What is the transport protocol you use to call a Web service?
Where does Web.Config Info stored? Will this be stored in the registry?
Can any one explain with the example how to capture the application error in Aplication_Error() method?
Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?
what are partial classes and their use?
Which is the parent class of the web server control?
Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version?