ASP.NET - 编程编辑 [英] ASP.NET - Programmatic Edit
本文介绍了ASP.NET - 编程编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们如何采取编程的GridView行成使用编辑命令编辑模式?
How can we programmatically take a GridView-row into Edit-mode using an Edit Command?
假设我要编辑的课程名称为C ++。
Suppose I want to edit the name of the course 'C++'.
我怎么能这样做?
推荐答案
在事件处理程序:
gridView.EditIndex = e.NewEditIndex;
gridView.DataBind();
这就是你要找的是什么?
Is that what you're looking for?
这篇关于ASP.NET - 编程编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文