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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -