I want to display SQL Server data in a table <td> so I can use the plugin at https://datatables.net/ I am able to bind the data to things such as
<asp:PlaceHolder ID = "PlaceHolder1" runat="server" />
such as in this tutorial: https://www.aspsnippets.com/Articles/Display-data-from-database-in-HTML-table-in-ASPNet.aspx
However, the plugin needs a class and id from a table, and therefore doesn't work. I tried inserting class and id that the plugin needs like this but did not work
// Table start.
html.Append("<table border = '1'>");
html.Append("<table class = "display" id = "example">");
Is there a way of inserting a class and id to the table through html.append?
Thanks