title: How to display table data into datagridview in c#?
body: <pre><code>mySqlCnnection.Open();
   string list = "select * from login";
   MySqlDataAdapter dataadapter = new MySqlDataAdapter(list, mySqlCnnection);
   DataSet ds = new DataSet();
   dataadapter.Fill(ds, "login");
   dataGridView1.DataSource =ds.Tables[0];
  </code></pre>
  
  <p>I want to display the entire login table data in a datagridview but am getting an empty widget?some one could please?</p>