anyone knows what event can I fire when I edit the contents of a datagrid cell ?

Recommended Answers

All 2 Replies

There is a whole lot of events beginning with Cell.. like

private void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e)
        {
            MessageBox.Show("I have been changed");
        }

        private void dataGridView1_CellValueChanged(object sender, DataGridViewCellEventArgs e)
        {
            MessageBox.Show("I am being changed");
        }

I`m using .NET 2k3 so, I can`t use DataGridView

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.