you are not setting object reference to an instance of object because you are just assigning dataset object to datasource which is not enough to bind Data.
you can use given code to bind your data to datagridview
SqlDataAdapter da = new SqlDataAdapter("Select * from tblcnt", ConfigurationManager.ConnectionStrings["cn"].ConnectionString);
DataSet ds = new DataSet();
da.Fill(ds,"tblcnt");
DataTable dt = ds.Tables["tblcnt"];
dataGridView1.DataSource = dt.DefaultView;
try it..