將 BoundField 隱藏後,就不會輸出 HTML 碼,所以你會找不到它對應的 Cell。你要改用 TemplateField,然後使用 HiddenField 去繫結隱藏的欄位。
www.blueshop.com.tw