Hi,
I have a datatable with 4 columns and 3 rows. How may I get directly 2.nd column and 3.th row's value?
Regards.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Blocked AccountPosted Jun 21, 2012, 3:46 AM
you can get 2nd column and 3rd rows value directly by using this code
string va = datatable.Rows[2][1].ToString();