cheers, i did it this way in the end.
VB Code:
If dvResults.Count <= dgSummary.PageSize Then strTicker = dvResults.Count End If If dvResults.Count > dgSummary.PageSize Then If dgSummary.CurrentPageIndex < dgSummary.PageCount - 1 Then strTicker = dgSummary.PageSize Else strTicker = (dvResults.Count Mod dgSummary.PageCount) End If End If strTicker = strTicker - 1 For z = 0 To strTicker strAccount1 = wibble.Item(z).Cells(0).Controls(0) straccount2 = strAccount1.Text wibble.Item(z).Cells(0).Controls(0).Visible = False wibble.Item(z).Cells(0).Text = straccount2 Next End If




Reply With Quote