Hello ,
You have not used GridView DataSource property .Modify your code like this way
using (SqlCommand cmd = new SqlCommand())
{
cmd.CommandText = "select Id, FileName from Career";
cmd.Connection = con;
con.Open();
DataTable dt = new DataTable();
dt.Load(cmd.ExecuteReader());
GridView1.DataSource=dt;
GridView1.DataBind();
con.Close();
}