D
Dav
I'm trying to implement custom paging in a VS 2005 readonly GridView binding
to an ObjectDataSource control. I added the extra maximumRows and
startRowIndex parameters to my Select method. The Select method had 3
parameters before I added the paging parameters. I added another method
called "GetCounter" to the same class containing the Select method to also
implement the SelectCount attribute. I keep getting an exception because it
is looking for the two original parameters to the Select method even though
the SelectCount method is not supposed to have any parameters at all. This
is the message:
"ObjectDataSource 'ObjectDataSource1' could not find a non-generic method
'GetCounter' that has parameters: selectedStates, sort"
Please help - thanks!
to an ObjectDataSource control. I added the extra maximumRows and
startRowIndex parameters to my Select method. The Select method had 3
parameters before I added the paging parameters. I added another method
called "GetCounter" to the same class containing the Select method to also
implement the SelectCount attribute. I keep getting an exception because it
is looking for the two original parameters to the Select method even though
the SelectCount method is not supposed to have any parameters at all. This
is the message:
"ObjectDataSource 'ObjectDataSource1' could not find a non-generic method
'GetCounter' that has parameters: selectedStates, sort"
Please help - thanks!