wrote:
I've tried using lamda expression to get subtotal and grand total
Is it at all related with adding few values.. Yes it is possible way of writing the logic but not related to your actual problem.
Well, Regarding your requirement, the only thing that you need is to take a class variable and add the values during OnItemDataBound event handler.
You can easily evaluate data elements inside this eventhandler using
DataBinder.Eval
If you cant do this or dont have any idea refer to :
http://msdn.microsoft.com/en-us/library/c012haty(VS.71).aspx[
^]
:thumbsup: