I have a variable that is part of my dataset (a double int datatype),
and I need to use this variable in an ItemDataBound for a datagrid.
When debugging and looking at the StackTrace, the Specified cast not
valid error is pointing to my double int that i need to assign to
'price' , which was declared as a Decimal in my ItemDataBound function:
Decimal price;
price = (Decimal)(rowData["dblTotalVolume"]);
the price variable will be used on my datagrid as a totals figure when
adding up a datagrid column , so I'm using it in an ItemDataBound
function. I'm wondering how to change dbleTotalVolume so I can use it
in this context.
Thanks
netsports