paging..:)
-
my web form..has combos and buttons..each time i make an action event my datagrid is bind to different table by different adapter ..how can i make paging in this case.. what can i type in PAGEindex_changed event?...thanks:):laugh:
coolshad wrote:
my web form..has combos and buttons..each time i make an action event my datagrid is bind to different table by different adapter
I guess you simply change the DataSource of the datagrid control, then recall the DattaBind method.
coolshad wrote:
how can i make paging in this case.. what can i type in PAGEindex_changed event?
:doh:, you might want to check out the PageIndexChanged[^] event. Also, since you are asking about the datagrid control, so I guess you may find some useful info from the site http://www.datagridgirl.com/articles.aspx[^]