Repeater Tools is a powerful control in asp.net. We have used this tool and it adjusts in any type of format, like mobile web view, so it's a powerful control to show data on websites and for searching, paging, or showing data in the main parts of every web site to cover all fields of access on it.
Details
HTML Code For index page
Output show data

Searching data

- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="admin_Default" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title>All Student Records </title>
- <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.0/css/jquery.dataTables.css" />
- <script type="text/javascript" charset="utf8" src="//code.jquery.com/jquery-1.10.2.min.js"></script>
- <script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.0/js/jquery.dataTables.js"></script>
- <script>
- $(document).ready(function() {
- $('#tableCustomer').dataTable();
- });
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <asp:Repeater ID="rptrCustomer" runat="server">
- <HeaderTemplate>
- <table id="tableCustomer" class="display">
- <thead>
- <tr>
- <th> Title </th>
- <th> Name </th>
- <th> Designation </th>
- <th> Institution </th>
- <th> Category </th>
- <th> Graduate </th>
- <th> Telephone </th>
- <th> Mobile </th>
- <th> Email </th>
- </tr>
- </thead>
- </HeaderTemplate>
- <ItemTemplate>
- <tr>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "title")%>
- </td>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "name")%>
- </td>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "design")%>
- </td>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "institution")%>
- </td>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "category")%>
- </td>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "graddmc")%>
- </td>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "telephoneno")%>
- </td>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "mobile")%>
- </td>
- <td>
- <%# DataBinder.Eval(Container.DataItem, "email")%>
- </td>
- </tr>
- </ItemTemplate>
- <FooterTemplate>
- </table>
- </FooterTemplate>
- </asp:Repeater>
- </div>
- </form>
- </body>
- </html>

Join the conversation! Your thoughts help the community grow.