I have a datatable and I have index of the row I want to extract.
I used dt.row(index_of_row).tostring but I got “System.Data.DataRow” when I wanted to display the datarow.
It depends on what you would like to do with the row data but maybe this will work for you?
Kind regards, Jeroen
give a try on:
dt.Rows(index_of_row).ItemArray to get an Array Objects representing the row/col values
e.g. for logging purpose give a try on
both of the solution word ! thank you
thank youu ! it works
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.