在网格中编辑数据 [英] editing data in a grid

查看:83
本文介绍了在网格中编辑数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我编写此代码来编辑网格中的行

if I write this code for editing row in a grid

protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{

    GridView1.EditIndex = e.NewEditIndex;

    loadgrid();
}


那我必须在.aspx页面上添加哪些属性?


[edit]代码被包装在"pre"标签中.[/edit]


then what properties I have to add on .aspx page?


[edit]Code is wrapped in ''pre'' tag[/edit]

推荐答案

看看这篇文章:
Have a look at this article: Editable Nested GridView (All-in-One)[^]

This has more than what you are looking for. Can be a good/handy to look on when needed.


这篇关于在网格中编辑数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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