if (e.Row.RowType == DataControlRowType.DataRow) { totalcash += Convert.ToDecimal(DataBinder.Eval(e.Row.DataItem, “cash”)); totalunbalanced += Convert.ToDecimal(DataBinder.Eval(e.Row.DataItem, “unbalanced”)); totalsettled += Convert.ToDecimal(DataBin