GeekInterview.com
Series: Subject: Topic:
Question: 2 of 298

Retrieve Value from DataSet

How to retrieve the third table value from the data set?
Asked by: kalpantpatil | Member Since Jan-2011 | Asked on: Jan 25th, 2011

View all questions by kalpantpatil   View all answers by kalpantpatil

Showing Answers 1 - 1 of 1 Answers
sandhya

Answered On : Oct 25th, 2012

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

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.