- Joined
- 31 Dec 2003
- Posts
- 5,172
- Location
- Barrow-In-Furness
ASP.net GridView last row
I'm trying to access the last row of my GridView but i'm not sure how to do it?
I have some totals in the last row of each column (NOT THE FOOTER) and I want to create an if statement that will change the colour .
The thing is, the totals are done in SQL, so there's no binding to any form of control (Label etc), so I don't know how to go about setting the colours, if that makes any sense?
I'm trying to access the last row of my GridView but i'm not sure how to do it?
I have some totals in the last row of each column (NOT THE FOOTER) and I want to create an if statement that will change the colour .
The thing is, the totals are done in SQL, so there's no binding to any form of control (Label etc), so I don't know how to go about setting the colours, if that makes any sense?
Last edited: