UPDATE updates first line every time
<p>I'm trying to update a row from a datagridview, but I want to change only the programmer and deleteDate columns.  The rest should remain the same.  It doesn't matter which line I select every time I perform the update the first line changes and not the one I choose. What should I change or what am I missing? </p>

<pre><code>private void button1_Click(object sender, EventArgs e)
{
    if ((textBox1.Text == "") || (textBox1.Text == "Enter your name!"))
        MessageBox.Show("Don't forget to type your name!");
    else
    try
    {
        SqlConnection conn = new SqlConnection("Data Source=cristi-pc;Initial      Catalog=Buguri;Integrated Security=True");
        SqlCommand cmd = new SqlCommand("UPDATE bug SET Name=@Name, description=@Description, Tester=@Tester, AddDate=@AddDate, Programmer=@Programmer, DeleteDate=@DeleteDate WHERE Name=@OldName and description=@OldDescription and Tester=@OldTester and AddDate=@OldAddDate", conn);

        cmd.Parameters.AddWithValue("@Name", ((DataRowView)this.BindingContext[this.buguriDataSet.bug].Current).Row["Name", DataRowVersion.Original]);
        cmd.Parameters.AddWithValue("@Description", ((DataRowView)this.BindingContext[this.buguriDataSet.bug].Current).Row["description", DataRowVersion.Original]);
        cmd.Parameters.AddWithValue("@Tester", ((DataRowView)this.BindingContext[this.buguriDataSet.bug].Current).Row["Tester", DataRowVersion.Original]);
        cmd.Parameters.AddWithValue("@AddDate", ((DataRowView)this.BindingContext[this.buguriDataSet.bug].Current).Row["AddDate", DataRowVersion.Original]);
        cmd.Parameters.AddWithValue("@Programmer", textBox1.Text);
        cmd.Parameters.AddWithValue("@DeleteDate", System.DateTime.Now);

        cmd.Parameters.AddWithValue("@OldName", ((DataRowView)this.BindingContext[this.buguriDataSet.bug].Current).Row["Name", DataRowVersion.Original]);
        cmd.Parameters.AddWithValue("@OldDescription", ((DataRowView)this.BindingContext[this.buguriDataSet.bug].Current).Row["description", DataRowVersion.Original]);
        cmd.Parameters.AddWithValue("@OldTester", ((DataRowView)this.BindingContext[this.buguriDataSet.bug].Current).Row["Tester", DataRowVersion.Original]);
        cmd.Parameters.AddWithValue("@OldAddDate", ((DataRowView)this.BindingContext[this.buguriDataSet.bug].Current).Row["AddDate", DataRowVersion.Original]);

        int nrUpd;
        conn.Open();
        nrUpd = cmd.ExecuteNonQuery();
        this.bugTableAdapter.FillByProg(this.buguriDataSet.bug);
        progDGW.Refresh();
        progDGW.Parent.Refresh();
        conn.Close();
        if (nrUpd == 0)
            MessageBox.Show("(Optimistic Concurrency 'error')The Title was updated by somebody else");
        else MessageBox.Show("Bug Deleted");
    }
    catch (Exception exc)
    {
        MessageBox.Show(exc.Message, "Error!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
    }
</code></pre>
