I want to update my data in the DataGridView (loaded from XML)
private void dgv_AgendaAfspraken_MouseDoubleClick(object sender, MouseEventArgs e)
{
DataGridViewRow dr = dgv_AgendaAfspraken.SelectedRows[0];
dtp_Date.Text = dr.Cells[0].Value.ToString();
cbx_begeleider.Text = dr.Cells[1].Value.ToString();
tbx_opleider.Text = dr.Cells[2].Value.ToString();
tbx_bedrijf.Text = dr.Cells[3].Value.ToString();
tbx_periode.Text = dr.Cells[4].Value.ToString();
}
How do I update these results from the TextBoxes (when I'm changing it) from the same record I just picked them?