this.dataGridView1.SelectionMode =DataGridViewSelectionMode.FullRowSelect;
dataGridView1即你的dataGridView名称。
C# dataGridView 如何选中整行?
猜你喜欢
转载自www.cnblogs.com/net-sky/p/9302413.html
今日推荐
周排行