C# WinForms BindingList & DataGridView - disallowing EDIT prevents creation of a NEW row? How can I address this?

Rather than fight the source, perhaps ask the DataGridView to officiate.

Rather than fight the source, perhaps ask the DataGridView to officiate: dataGridView1. DataSource = bs; dataGridView1. ReadOnly = true; dataGridView1.

CurrentCellChanged += delegate { DataGridViewRow row = dataGridView1. CurrentRow; bool readOnly = row == null || row. Index!

= dataGridView1. NewRowIndex; dataGridView1. ReadOnly = readOnly; }; (and don't set AllowEdit on the list).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions