I created a dynamic table in VB.NET on asp.net page and its shows right .
But when I try to read the table on a click even I wrote: tablename.rows.count it shows 0 , in me page i see the table and the rows .

I created a dynamic table in VB.NET on asp.net page and its shows right .
But when I try to read the table on a click even I wrote: tablename.rows.count it shows 0 , in me page i see the table and the rows .

How do you persist the table between pages? You state that you created a "dynamic" table which suggest that it isn't stored on disk or in a database somewhere. The quick way to deal with this is to store it in the Session object like so:
Session("MyDataTable") = MyDataTable
In the click event you retreive the datatable like so:
MyDataTable = Session("MyDataTable")
using the basic session object requires that the client have session cookies turned on, there are other ways to deal with session (and persisting data), but this is the quick and dirty way.