what error here?
private void fillgrid()
{
try
{
DataSet ds = new DataSet();
ds.Clear();
SqlConnection con = new SqlConnection(@" kkkk");
SqlCommand comm = new SqlCommand("select * from client", con);
SqlDataAdapter adapt = new SqlDataAdapter();
con.Open();
adapt.SelectCommand = comm;
adapt.Fill(ds);
dataGridView1.DataSource = ds;
dataGridView1.DataMember = "client";
con.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}