会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
龙少爷
不谋一世者,不足谋一时;不谋全局者,不足谋一域
从GridView内取选择的行值并删除
protected
void
GridView1_RowCommand(
object
sender, GridViewCommandEventArgs e)
{
if
(e.CommandName.Equals(
"
Delete
"
))
{
int
sindex
=
int
.Parse(e.CommandArgument.ToString());
string
name
=
this
.GridView1.Rows[sindex].Cells[
0
].Text.Trim();
}
}
如果删除时
激发了未处理的事件“RowDeleting”可生成此事件但不处理
posted on
2007-05-29 16:27
龙少爷
阅读(
917
) 评论(
1
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
导航
博客园
首页
新随笔
联系
订阅
管理
公告