筆記。隨手
(移至...)
首頁
▼
2018年9月7日 星期五
從 GridView 中找到 Row
RowCommand事件
GridViewRow row =
(GridViewRow)
(((Control)
e.CommandSource
).
NamingContainer
);
用同Row中的控制項
GridViewRow row =
(GridViewRow)
(((Control)
sender
).
NamingContainer
);
GridViewRow row =
(GridViewRow)
(Label1.
NamingContainer
);
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言