DataGridView AllowUserToAddRow property doesn't work

后端 未结 4 661
离开以前
离开以前 2020-12-06 14:52

I have a simple project with Entity Framework, I have a DataGridView in my Form and I set its AllowUserToAddRow property to true

4条回答
  •  自闭症患者
    2020-12-06 15:22

    If you are going to bind the dataGridView to a source, then the only appropriate way to insert a row is to add a row to the data structure your DataGridView is binded to.

提交回复
热议问题