DataGridView Object Databinding Issue “Index -1 does not have a value”

后端 未结 4 1282
借酒劲吻你
借酒劲吻你 2020-12-21 04:41

I am using a set of DataGridViews (dgv) to display a class\'s members via properties. I use the dgv so that the user can edit the value of the member right in the view (so

4条回答
  •  难免孤独
    2020-12-21 04:54

    I also know it's old, but I struggled with this, and the best solution I found is using BindList instead of a regular list.

提交回复
热议问题