Hi!
I have three columns. Curiously. When I click on my datagridview same time this message appear: Column price does exit.
When I go to verify my table this column exist. What happen???
I am using a MS Access Database.
if (e.RowIndex >= 0)
{
DataGridViewRow row = this.dgvConsultasMenu.Rows[e.RowIndex];
lblID.Text = row.Cells["ID"].Value.ToString();
txtnature.Text = row.Cells["nature"].Value.ToString();
txtPrice.Text = row.Cells["price"].Value.ToString();
txtMenu.Text = row.Cells["menu"].Value.ToString();
dgvConsultasMenu.CurrentCell = dgvConsultasMenu.Rows[dgvConsultasMenu.Rows.Count - 1].Cells[0];
Thank you,
Israel.