In SP has contains 10 query,By Using Dataset Object I need
to fetch 8th query of records? How?

Answers were Sorted based on User's Feedback



In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?..

Answer / sarvesh

the index starts from 0.
ds.tables[7]

Is This Answer Correct ?    9 Yes 0 No

In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?..

Answer / javed

DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt=ds.Tables[7];

because index start 0.

Is This Answer Correct ?    8 Yes 0 No

In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?..

Answer / jignesh contractor

From SP we want the 8th query.....

so that we can be access by

DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt = ds.Tables[8]; //As Index Starts from 0th Index....

Now dt will have the records returned by the 8th query..

Is This Answer Correct ?    0 Yes 4 No

In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?..

Answer / arun

I need some answers...

Is This Answer Correct ?    1 Yes 6 No

In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?..

Answer / devanathan

Get the DateSet Object's 8th table will give you the 8th
query records.

DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt=ds.Tables[8];

Now dt will have the records returned by the 8th query

Is This Answer Correct ?    7 Yes 13 No

Post New Answer

More ASP.NET Interview Questions

What is view state and how it works in asp net?

0 Answers  


How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are the limits?

3 Answers   CoreObjects,


What is the main differences between asp and asp.net?

0 Answers  


What is a 404 redirect?

0 Answers  


How do you create a permanent cookie?

8 Answers   Siebel Systems,






How can u handle Un Managed Code Exceptions in ASP.Net?

1 Answers   Lara Technology,


Explain the differences between managed and unmanaged code?

0 Answers  


What is the difference between mechine.config and web.config?

0 Answers  


what is service contract,operation contract?

2 Answers  


How to kill session?

18 Answers   Protech,


Explain the advantages of asp.net.

0 Answers  


What is the latest version of asp.net?

0 Answers  


Categories