在asp.net中隐藏包含绑定数据的列的标题

在asp.net中隐藏包含绑定数据的列的标题,asp.net,Asp.net,有可能这样做吗 <asp:TemplateField HeaderText="Export" Visible='<%# Bind("isExported") %>'> </asp:TemplateField> 您应该使用而不是 The TemplateField control with a two-way databinding to field deviceExport must have an ID

有可能这样做吗

<asp:TemplateField HeaderText="Export" Visible='<%# Bind("isExported") %>'>
</asp:TemplateField>
您应该使用
而不是

The TemplateField control with a two-way databinding to field deviceExport must have an ID