Forums
This topic is locked
On load - reference datagrid data
Posted 26 Oct 2005 10:30:01
1
has voted
26 Oct 2005 10:30:01 Kevin Kidson posted:
I am trying to calculate column totals in an asp
In my datagrid I call : OnItemDataBound="ComputeSum"
I then have a sub :Sub ComputeSum(sender As Object, e As DataGridItemEventArgs)
with
Dim Price as Double = <b>DataBinder.Eval</b>(e.Item.DataItem, "Price"

....
I have a dataset : <MM

I have a datagrid : <asp

DataSource="<%# ds_Pack_Wine.DefaultView %>"
How do I reference the data - databinder.eval is obviously not a DW method
Any ideas?