把一个GridView行编辑模式编程 [英] Putting a gridview row in edit mode programmatically

查看:104
本文介绍了把一个GridView行编辑模式编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何把一个GridView行编辑模式编程?

How do I put a gridview row in edit mode programmatically?

推荐答案

在EditIndex属性设置为适当的行,然后再重新绑定GridView控件到它的数据源。

Set the EditIndex property to the appropriate row and then ReBind the GridVIew again to it's DataSource.

希望这有助于。

这篇关于把一个GridView行编辑模式编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆