Yea, I thought about that. I also saw an obscure posting that suggested a microsoft defect in VS 2005 for Master Pages and Gridviews?
I've also used below to first get row count then cycle through them using that.
' Dim subTotal As Decimal
' Dim rowValue As String
' If rowCounter < recCount Then
' If e.Row.RowType = DataControlRowType.DataRow Then
' rowValue = Replace(e.Row.Cells(6).Text, "$", "")
' 'subTotal = e.Row.Cells(6).Text
' If Decimal.TryParse(rowValue, subTotal) Then
' totalSubTotal += subTotal
' End If
' rowCounter += 1
' End If
' End If
'End Sub
On top of all this, I also have pagination, and I've found that I would get rows.count = whatever was on the page, etc. You'd think that this would be simpilier.
I saw another postings discussing a solution but I wouldn't be able to use callbacks.
Thanx.