<asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <table id="datatable" class="table table-striped table-bordered" style="width: 100%; border: 1px solid #E0ECFF; text-align: center" id="DeviceTbl"> <thead> <tr> <th> EMPLOYEE NAME </th> </th> </tr> </thead> <tbody> </HeaderTemplate> <ItemTemplate> <tr> <td align="left"> <%# Eval("Name")%> </td> </tr> </ItemTemplate> <FooterTemplate> </tbody> </table> </FooterTemplate> </asp:Repeater> <script src="media/js/jquery.js" type="text/javascript"></script> <script src="media/js/jquery.dataTables.min.js" type="text/javascript"></script> <script language="javascript" type="text/javascript"> $('#datatable').dataTable(); </script>
$(document).ready(function() { $('#datatable').dataTable(); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)