How to update dataset using datagridview?
<p>Duplicate of: <a href="http://stackoverflow.com/questions/993198/update-dataset-how">Update DataSet, How ?</a> and  <a href="http://stackoverflow.com/questions/1021821/simple-update-dataset-question">Simple Update Dataset question</a> by the same user.</p>

<p><hr /></p>

<p>I have this code that show result in DataGridView.</p>

<p>I want that any change in Cell of the Datagridview will change also the dataset</p>

<p>how i can do it ?</p>

<pre><code>adp = new SqlDataAdapter("SELECT Fname,Lname,City,Sel from men order by Lname", Conn);
        dsView = new DataSet();
        adp.Fill(dsView, "men");
        adp.Dispose();
        dataGridView1.DataSource = dsView.Tables[0].DefaultView;
</code></pre>
