View Single Post
Old 02-01-2006, 11:47 AM   #7 (permalink)
rikb53
Registered User
 
Join Date: Jan 2006
Posts: 29
rikb53 is on a distinguished road
yes it's vb.net - basically im declaring a datarow - assigning a dataset and iterating thru those rows. you can get to the elements of each row (aRow.Item(0)) and as long as you dont as for more elements than are in the dataset, you're okay.
if i'm doing a select for say: select myName,MyAddress from SomeTable.
and i assign that to a datset then to a datarow, as long as i dont ask for::
aRow.Item(2) - im okay - if i ask for that third item - "it out of the Index Range"
thanks again for your help on this
rik
rikb53 is offline   Reply With Quote