Use the ItemDataBound event which is called for each row bound, and use this
to add all your row values.
EG
Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs) Handles
DataGrid1.ItemDataBound
RowCount += CType(e.Item.Cells(0).Text, Integer)
End Sub
--
Terry Burns
http://TrainingOn.net
"NewTel" <dd**@dimdddabot.com> wrote in message
news:qY******************************@comcast.com. ..
Hi - I'm using gridview
One of the fields needs to be totalled at the bottom.
How can I do that?
thanks!!!!!