lmcblog
设置DataGridView的属性SelectionMode为FullRowSelect
这样就使DataGridView不是选择一个字段,而是选择一整行了

设置DataGridView的属性MultiSelect为false
这样就使DataGridView不能够选择多行,只能选择一行了

分类:

技术点:

相关文章:

  • 2021-11-04
  • 2021-08-14
  • 2022-12-23
  • 2021-09-20
  • 2021-05-18
  • 2021-08-20
  • 2021-12-02
猜你喜欢
  • 2021-11-04
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2021-10-23
相关资源
相似解决方案