如何读取GridView控件中某一行中已隐藏列的数据.
程序猿GG 2009-03-31 11:46:53 如,我在GridView控件中添加一个新列, 在新列中放一个LinkButton控件,在界面中,通过在linkbutton的单击事件里面用下面这行
((sender as LinkButton).NamingContainer as GridViewRow).Cells[]
能够读取指定行中某一栏位的数据,但是,如果我将该栏位的Visible属性设为false,则读取的数据是"", 该如何处理?