title: Cannot edit column values in dataGridView
body: <p>I am not able to update the values of columns in dataGridView. please help</p>
  
  <pre><code>          private void button1_Click(object sender, EventArgs e)
           {
  
             {
              SqlDataAdapter adapter = new SqlDataAdapter();
              itemRecordBindingSource.EndEdit();
              DataTable dt = new DataTable();
              adapter.Update(dt);    
              MessageBox.Show("Record Saved.");
          }
  
          catch(Exception c)
          {
             MessageBox.Show("Sorry, could not update data." + c);
          }
  
      }
  </code></pre>
  
  <p>Its not showing any error, also not updating the table.</p>