Selecting a row in DataGridView programmatically

后端 未结 8 2356
被撕碎了的回忆
被撕碎了的回忆 2020-12-08 12:58

How can I select a particular range of rows in a DataGridView programmatically at runtime?

8条回答
  •  一向
    一向 (楼主)
    2020-12-08 13:20

    When setting a Selected row of a DataGridView at load time, consider handling this in the DataBindingComplete event, because it can be overwritten by default.

提交回复
热议问题