Deccost = dv.item(x).item("ColumnName")
or for the current one you could do
decost = ctype(me.bindingcontext(datasource,"tablename").current,datarowview).item("ColumnName")
Note if you are using a dataview as a datasource to bind with then you would only have the datasource and not the second parameter as above.
Hope this helps |