<asp:BoundField DataField="comment_Tilte" HeaderText="评议标题"> <ItemStyle HorizontalAlign="Center" Width="200px"></ItemStyle> </asp:BoundField> <asp:BoundField DataField="DEFAULT_CHECK_NO" HeaderText="各评议对象的缺省选项号"> <ItemStyle HorizontalAlign="Center"></ItemStyle> </asp:BoundField> <asp:BoundField DataField="END_DATE" HeaderText="截至日期"> <ItemStyle HorizontalAlign="Center"></ItemStyle> </asp:BoundField>
jquery可以修改gridview的HeaderText吗??怎么实现??
方法如下:
$("#GridView1 tr th:eq(0)").html("姓名");