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

Explain the differences between Server-side and Client-side code?

2 Answers  


What is a web api?

0 Answers  


What is an il?

0 Answers  


What is masterpage?

0 Answers  


What is the application pool?

0 Answers  


What is postback in asp net?

0 Answers  


What is an Interface and What is an Abstract Class?

3 Answers  


How many web.copnfig can exists in a web application & which will be used ?

3 Answers   MMTS,


Name and describe some HTTP Status Codes and what they express to the requesting client ?

1 Answers  


How do you do exception management

1 Answers   Infosys,


Different type of validation controls in asp.net ?

1 Answers   CTS, Keane India Ltd,


What is a postback ispostback and autopostback in asp net?

0 Answers  


Categories