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 are the differences between windows services and web services?

5 Answers   Tech Mahindra,


What's the advantage of using System.Text.StringBuilder over System.String?

3 Answers   IBM, IdeaLake, Infosys,


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

1 Answers  


What is authentication in asp.net?

0 Answers  


Explain the difference between asp & asp.net.

0 Answers  


What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

0 Answers  


Where would you use an ihttpmodule, and what are the limitations of any?

0 Answers  


What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?

2 Answers  


Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net

0 Answers  


Explain one critical mapping?

0 Answers  


cr8 2 datatables into one dataset DYNAMICALLY (no backend database used like sql,etc.,) with following columns 1st datatable with columns studentNo studentName Deptno 2nd datatable with columns Deptno DeptName DeptAddress add data to both the tables Dynamically and merge these tables into one table and display it in Grid view as studentNo studentName Deptno DeptName DeptAddress

1 Answers   SQL Star,


What are validator? Name the validation controls in asp.net? How do you disable them?

0 Answers  


Categories