R
ruca
I'm validate some things in my dataGrid and if I delete all the records of
the last page of datagrid, it gives me an error saying: CurrentPageIndex
must be >=0 and <PageCount.
I want to know the PageCount after deleting the records, but this only
happens when I Bind DataGrid (and it's here that error ocurrs).
Can I know the number of pages of my DataGrig before doing DataBind to her?
How?
the last page of datagrid, it gives me an error saying: CurrentPageIndex
must be >=0 and <PageCount.
I want to know the PageCount after deleting the records, but this only
happens when I Bind DataGrid (and it's here that error ocurrs).
Can I know the number of pages of my DataGrig before doing DataBind to her?
How?