title: How to Upload modified data in Datagridview?
body: <p>I have fetched some data from a SQL database into a datagridview, but after the user modified the data in the datagridview, how can I upload the data back?</p>
  
  <p>And also, I found a code like this:</p>
  
  <pre><code>this.dataGridView1.Update();
  </code></pre>
  
  <p>What does this method Update? Here is the code where I bind the data to datagridview:</p>
  
  <pre><code>SqlDataReader read;
  SqlCommand cmd;
  DataTable dt = new DataTable();
  cmd = new SqlCommand("Select * from Table", 204.192.49.3);
  read = cmd.ExecuteReader();
  dt.Load(read);
  dataGridView1.DataSource = dt;
  </code></pre>