How can I update the values in the database with the values in the DataGridRow when the button is clicked?
To be precise i want to change the text of column from "En cours" to "PRET" when i click the button
public void ajoutercolonne()
{
DataGridViewButtonColumn btn = new DataGridViewButtonColumn();
btn.Name = "Validation";
btn.Text = "Prêt";
btn.UseColumnTextForButtonValue = true;
dataGridView2.Columns.Add(btn);
}
