SO SIMPLE DEAR,
if there is record then its okay.
but if there is not records comming to gridview then just make sure that gridview doesn't have any record by a small coding//
That is,
...