Hey,
Post the code where you get the data from the data source. Without seeing that, we can't tell. That is why stu9820 asked for the Page_Load code. In addition, you need the PageIndexChanged event for it to work. Are you reloading the data source, or storing it in the session or cache? You lose the data source on page reload, because as soon as the page unload event occurs, all objects are destroyed.
Brian
|