Re: 請問DataGrid裡的物件如何呼叫?

看板C_Sharp (C#)作者 (tomex_ou)時間20年前 (2005/03/21 02:51), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/5 (看更多)
※ 引述《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
文章代碼(AID): #12FSP8FB (C_Sharp)
文章代碼(AID): #12FSP8FB (C_Sharp)