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 will you maintain versioning in asp.net 2.0?
What are the advantages of asp.net?
What are web beacons used for?
how can i am search the data from database? just like google
How do you secure your configuration files to be accessed remotely by unauthorized users?
Which template must you provide, in order to display data in a Repeater control?
3 Answers Siebel Systems, Wipro,
Define ViewState and how can it be used?
What does a switch do?
What are the layouts of ASP.NET Pages?
What is server side session management?
What is difference between viewstate and session in asp net?
What r the asp.net list controls and diff. Between them?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)