code is below
Gridview1.Datasource = dtData;
Gridview1.Databind();
here dtData is DataTable contains data which you were retrieved from database. Please check while debugging, the DataTable dtData contains data or not. Also confirm, do you have any javascript error in the browser status bar when running.