想在GridView中增加一个选择列,请问如何写aspx代码呢?请哪位贴一段?谢谢!!!
想在GridView中增加一个选择列,请问如何写aspx代码呢?请哪位贴一段?谢谢!!!
------解决方案-------------------- <asp:TemplateColumn>
<HeaderTemplate>
<asp:CheckBox ID= "CheckAll " onClick= return select_deselectAll (this.checked, this.id); "
runat= "server " />
<font face= "Webdings " color= "white " size= "4 "> a </font>
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID= "DeleteThis " onClick= return select_deselectAll (this.checked, this.id); "
runat= "server " />
</ItemTemplate>
</asp:TemplateColumn>
加个模板列
可以在baidu上搜一下gridview多选