View Single Post
  #32 (permalink)  
Old 08-08-2007, 06:54 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Thumbs up Re: Implementation Data Controls in asp.net

hey,
I tried the code you provided for the paging template and I get the following error:

Specified argument was out of the range of valid values.
Parameter name: index
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index

Source Error:


Line 683: Dim tc As New TableCell()
Line 684: tc.Controls.Add(l)
Line 685: Me.projectGridView.Controls(0).Controls(Me.project GridView.Controls(0).Controls.Count - 1).Controls(0).Controls(0).Controls(0).Controls.Ad dAt(0, tc)
Line 686: 'Previous and Next
Line 687: Dim tp As New TableCell
__________________
H2O

Without us, no one can survive..
Reply With Quote