摘要: cast((要转换数据类型的列) as 数据类型) 阅读全文
posted @ 2021-01-20 15:26 沉迷代码不能自拔 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 设置datagridview中,某行被选中并且移动到选中行的位置 dataGridView6.Rows[选中的行号].Selected = true;//设置某行被选中 dataGridView6.CurrentCell = dataGridView6.Rows[选中的行号].Cells[0];// 阅读全文
posted @ 2021-01-20 15:24 沉迷代码不能自拔 阅读(99) 评论(0) 推荐(0) 编辑