Please check the visibility mode, i mean u may be written a code for hides the grid some where of the code ,
Please add a code to visible the grid after ur code;
grdPageContents.DataSource = MyDataTable
grdPageContents.DataBind()
grdPageContents.Visibe = True;
Cheers...