Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Jun 25, 2007 07:25 AM|LINK
Could you let me know which event handler have you put your code in? You can see the data when it is loaded at Page_Load event. But when you click a button to post it back, the data might be lost since the whole page is reloaded.
You have to make sure that DataBind() method is called before you check for row count.