How to retrieve the third table value from the data set?

Answers were Sorted based on User's Feedback



How to retrieve the third table value from the data set?..

Answer / bala.r

ds.Tables[2].Rows[SpecificRow][SpecificColumn].ToString();
// SpecificRow- is an Row Index
// SpecificColumn - is either DataColumn or Column Name in
string or Column Index

Is This Answer Correct ?    13 Yes 3 No

How to retrieve the third table value from the data set?..

Answer / denial gonzalvis

ds.tables[2].rows[w.rowindex].datacolumn.tostring();

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More ADO.NET Interview Questions

Some important instruction regarding ADO.NET connection string ?

0 Answers   NA,


What is the use of ADO.NET and XML web services?

0 Answers   TCS,


What are the key features of ado.net?

0 Answers  


If we are not returning any records from the database, which method is to be used?

0 Answers  


What is executenonquery ado.net?

0 Answers  






What are all the different authentication techniques used to connect to MS SQL Server?

0 Answers  


Difference between datareader and dataset?

26 Answers   Microsoft, Noel Infotech, Satyam, Value Labs,


Why do we need ado.net?

0 Answers  


What is data relation in ado.net?

0 Answers  


Does sqlclient and oledb class share the same functionality?

0 Answers  


What are the data access namespaces in .NET?

0 Answers  


What is the difference between Optimistic and Pessimistic locking?

0 Answers  


Categories