Because you are building the contents of the table at run-time, you will need to generate the table on each postback. Move the code that gens the table outside of the IsPostback() method.