Hello Sir..
I have one to four table in dataset and i want to cunt number of rows/columns in fourth table from dataset please define how can count rows or columns?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted May 30, 2014, 2:10 AM EDT
Ranjit PowarRank #553 · 4.4K reputationPosted May 30, 2014, 2:16 AM EDT
int rows;
rows=ds.Tables[3].Rows.Count;
For columns
int col= ds.Tables[3].Columns .Count;