<asp:BoundField DataField="TimeRead" ItemStyle-Width="25%" HeaderText="TimeRead" SortExpression="TimeRead" />
<asp:BoundField DataField="Name" ItemStyle-Width="45%" HeaderText="Name" SortExpression="Name" />
<asp:BoundField DataField="Email" ReadOnly="True" Display="none" HeaderText="Email" SortExpression="Email" />
如何隱藏datagrid中的Email列,我不想使用column.visible屬性。我怎樣才能隱藏它使用CSS屬性或任何其他方法。謝謝在datagrid中隱藏一列,不設置column.visble = false
http://stackoverflow.com/questions/1075813/hide-a-datagrid-column-with-javascript – Porco