Thanks for the ans.
My aim is that when this page loaded it should show a gridview.
now the datasource of gridview depend on what i will send from other pages.(i mean that i just send the type of gridview and in the page_Load it will fill it depending on the type i sent).
So i should know the value of GridviewTypeT.Value in Page_Load for when the page load the gridview will also load automatically.