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

What is the significance of CommandBehavior.CloseConnection ?

0 Answers   NA,


What is microsoft ole db provider for sql server?

0 Answers  


Explain the ADO . Net Architecture ?

3 Answers  


Can we do database operations without using any of the ado.net objects?

0 Answers  


What is the difference in an abstract class and an interface?

0 Answers  


Which property is used to check whether a DataReader is closed or opened?

0 Answers  


What is linq and entity framework?

0 Answers  


What are the methods of XML dataset object?

0 Answers  


Which object of ado contains datarow datacolumn collection?

0 Answers  


How to pass multiple tables in datasets simultaneously?

0 Answers  


Which provider is used to connect ms access, oracle, etc…?

0 Answers  


What is ado net stands for?

0 Answers  


Categories