摘要: DataGridView的几个基本操作:1、获得某个(指定的)单元格的值:dataGridView1.Row[i].Cells[j].Value;2、获得选中的总行数:dataGridView1.SelectedRows.Count;3、获得当前选中行的索引:dataGridView1.Curren 阅读全文
posted @ 2019-07-26 19:05 向前追起 阅读(14967) 评论(0) 推荐(1)
摘要: /// <summary> /// 学员类 /// </summary> class Student { //字段:学员 private int studentld; //字段:学员姓名 private string studentName = string.Empty; //属性:学号 publi 阅读全文
posted @ 2019-07-26 09:34 向前追起 阅读(392) 评论(0) 推荐(0)