dataGridView中设置光标到指定的行
2013-09-23 14:37
204 查看
dataGridView中显示编辑刷新后,自动选定修改行,或者在新增数据后选择新增的行时,需要将光标设置到选中的行:
dataGridView1.CurrentCell = dataGridView1[1, iSeletedRowIndex];
相关文章推荐
- JS设置光标选中text中指定文字
- EditText的换行输入、输入起始位置、调用指定格式的系统键盘(显示和隐藏),光标颜色,密码动态设置可见性
- 设置DataGridView控件的当前行,光标定位问题
- 设置鼠标光标在DataGridView某个单元格中的位置
- [VB.NET]如何给DATAGRIDVIEW控件中指定的单元格设置背景色????
- JS如何设置打开页面后将光标定位在指定的输入框?
- 设置鼠标的光标!指定位置光标,按下左键右键时的光标
- winform datagridview设置列单元格不可编辑可以选定指定内容
- datagridview设置currentrow为指定的某一行[转]
- DataGridView中设置指定行为当前行
- C# WinForm 设置DataGridView选中指定行
- dataGridView设置指定列不能修改
- iOS 设置文本中指定某段文本的颜色 大小
- PyCharm设置python新建文件指定编码为utf-8
- DataGridView 密码列(显示为*号)的设置
- iOS开发中查看和删除cookies,设置指定的cookies
- 在DataGridView中指定日期列的格式
- 设置CMD 在指定目录打开
- UIview 设置指定的几个角为圆角
- 设置自定义的Edittext的光标是否显示和被选中文字的背景色