I am new to C#. I am trying to add a Thead section to the table that a checkboxlist generates so I can use Datatables plugin from https://datatables.net/ to format My table. Also is there a way to add other columns to the table it generates?
<form id="form1" runat="server">
<div id="alertMessage" runat="server"></div>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" Visible="True" PrintMode="Pdf" GroupTreeStyle-ShowLines="False" ReuseParameterValuesOnRefresh="False" HasRefreshButton="True" />
<asp:CheckBoxList ID="CheckBoxList1" runat="server" CssClass="table table-bordered" DataValueField="order_no" DataTextField="order_no" AppendDataBoundItems="false" DataSourceID="OrderQuery" >
<asp:ListItem></asp:ListItem>
</asp:CheckBoxList>
<asp:SqlDataSource ID="OrderQuery" runat="server"
ConnectionString="<%$ ConnectionStrings:002ConnectionString %>"
SelectCommand="spOrderDetailsPrint" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
<asp:Button ID="Button1" runat="server" Text="Print" OnClick="Button_1Click" />
<div>
</div>
</form>