نقل قول نوشته شده توسط علی فتحی مشاهده تاپیک
با سلام دیتا تیبل را به برنامه اضافه کردم ولی مثل نمونه سایت بوت استرپ اجرا نمیشه لطفا راهنمایی فرمایید.
سلام و روز خوش
تگ html کدها رو به هم میریزه
من در تگ code گذاشتم تا خوانا باشه


<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">
<link href="DataTables/datatables.css" rel="stylesheet" type="text/css" />
<link href="DataTables/datatables.min.css" rel="stylesheet" type="text/css" />
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>

<body>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
</body>
<script src="DataTables/datatables.js" type="text/javascript">
</script>
<script src="DataTables/datatables.min.js" type="text/javascript">
</script>

</html>


و trهای اضافه که تاثیری در مطلب نداشت رو پاک کردم!


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table id="example" class="display" style="width:100%">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>System Architect</td>
<td>Edinburgh</td>
<td>61</td>
<td>2011-04-25</td>
<td>$320,800</td>
</tr>
<tr>
<td>Garrett Winters</td>
<td>Accountant</td>
<td>Tokyo</td>
<td>63</td>
<td>2011-07-25</td>
<td>$170,750</td>
</tr>
<tr>
<td>Ashton Cox</td>
<td>Junior Technical Author</td>
<td>San Frabarnamenevisco</td>
<td>66</td>
<td>2009-01-12</td>
<td>$86,000</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</tfoot>
</table>
<script> new datatable('#example'); </script>
</asp:Content>