In the page on load event, you need to save the dataset to sessionbefore calling the databind method.