c# - Get a cell of dataset -
i working windows application.
i load dataset dataadapter fill
method.(objdataadaptere.fill(objdataset,"string"))
now want cell of dataset.(for example (row(0),cell(0)))
how can this? thanks.
the value? assuming mean "of first table of data-set", then:
object value = dataset.tables[0].rows[0][0];
but more specifically:
object value = dataset.tables[tableindex].rows[rowindex][colindex];
Comments
Post a Comment