zoukankan
html css js c++ java
从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”可生成此事件但不处理
查看全文
相关阅读:
最高的牛
激光炸弹(二维前缀和)
汉诺塔问题
费解的开关
Hamilton路径(模板题)
大臣的旅费【树型dp + 求树最长链】
[蓝桥杯2018初赛]全球变暖
操作集景
[蓝桥杯2018初赛]倍数问题
一些数学公式
原文地址:https://www.cnblogs.com/wjhx/p/764097.html
最新文章
vector的clear
表连接查询
python变量和作用域
bitmap统计数字
引用和指针的区别
new总结
SIGPIPE
(转)Signal handling in Linux
向Github提交一次错误的commit后该怎么办
求互粉用户
热门文章
Linova and Kingdom CodeForces
Minimum Euler Cycle CodeForces
F
Circle of Monsters CodeForces
Powered Addition CodeForces
关于SPFA求解差分约束问题
D
Q
C. Nastya and Strange Generator (思维,假题)
The Shortest Path in Nya Graph HDU
Copyright © 2011-2022 走看看