1.设置默认选中行 dataGridView1.CurrentCell = dataGridView1.Rows[i].Cells[0];
DataGrideView
最新推荐文章于 2025-06-12 13:08:01 发布
本文介绍了一种在 C# 应用程序中使用 DataGridView 控件时设置某一行默认为选中状态的方法。通过设置 dataGridView1 的 CurrentCell 属性,可以方便地实现这一功能。
893





