G
Guest
Dear all
I have a datagrid on which I have impement paging
I set proper properties for the grid and add following code in
dbGrid_PageIndexChanged event:
dbGrid.CurrentPageIndex = e.NewPageIndex
dbGrid.DataSource = ds.Tables(0)
dbGrid.DataBind()
When I run my application and click on page 2, the a page_Load event occurs
and then I jump in my dbGrid_pageIndexChanged event.
Problem is that if I click on page 2, nothing happen any more, the page_load
event is not fire and dbGrid_pageIndexChanged either.
It works only once, any idea where is the problem ?
regrards
serge
End Sub
I have a datagrid on which I have impement paging
I set proper properties for the grid and add following code in
dbGrid_PageIndexChanged event:
dbGrid.CurrentPageIndex = e.NewPageIndex
dbGrid.DataSource = ds.Tables(0)
dbGrid.DataBind()
When I run my application and click on page 2, the a page_Load event occurs
and then I jump in my dbGrid_pageIndexChanged event.
Problem is that if I click on page 2, nothing happen any more, the page_load
event is not fire and dbGrid_pageIndexChanged either.
It works only once, any idea where is the problem ?
regrards
serge
End Sub