Re: 請問DataGrid裡的物件如何呼叫?
※ 引述《jewelrywang (小豬)》之銘言:
: You can get the column by set the key column property
: each row has an key column, so whatever view selected by user
: you can get the current row's key column
: then, you can get the row of dataset selected by user
: ※ 引述《Barlog (巧克力魔人)》之銘言:
: : 我的DataGrid如下圖
: : http://cat.hfu.edu.tw/~b9010014/1.jpg

: : 假使我在某個選項打勾
: : 請問要如何呼叫那行的某個欄位哩?
Yes, GataGrid1.ItemDataBound() event,
check the arg(e), e.Item.xxx
--
貫徹分享精神
我為人人,人人為我
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.119.183.211
討論串 (同標題文章)
C_Sharp 近期熱門文章
PTT數位生活區 即時熱門文章