作者tomex (tomex_ou)
看板C_Sharp
标题Re: 请问DataGrid里的物件如何呼叫?
时间Mon Mar 21 02:52:28 2005
※ 引述《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