VBdotnet2005
asked on
Gridview - Footer
I have a column call "Open Account". I want to display a total on a footer in Gridview. How can I accomplish this task - VB please.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sub myGridViewDataBound(...) Handles myGridView.DataBound
Dim Total as Single = 0
For each row as GridViewRow in myGridView.Rows
Total += row.Cells(the integer of Open Account cell).Text
Next
CType(myGridView.FindContr
End Sub