Hi all,
im trying to get data of the data set varyable, but im only receivinf 0 from its, can anybody tell me how can i get the data i want from the datatable.
Hi all,
im trying to get data of the data set varyable, but im only receivinf 0 from its, can anybody tell me how can i get the data i want from the datatable.
Two things.
One: Which is it?
im trying to get data of the data set varyable
how can i get the data i want from the datatable.
Two: What data? A particular cell? A row? The whole table?
Basicaly is a one cell only , and dont ask me why its too complicated.
The table only have one cell.
the rows property and the cells property for each row are indexed, thus mydatatable.rows[0].cells[0].value
should give you the value of the first cell in the first row. Remember the indexes are 0 based.
oops tables don't have cells mydatatable.Rows[0].Field<string>(mydatatable.Columns[0]);
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.