Call the DataBind() method to bind the data to the GridView.?
Example:
SqlDataAdapter adapter = new SqlDataAdapter("SELECT * FROM
Customers", connection);
DataTable dt = new DataTable();
Follow:
adapter.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();