Guest User

Untitled

a guest
Nov 23rd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.28 KB | None | 0 0
  1.                 <asp:ListView ID="lvDependent" runat="server">
  2.                     <LayoutTemplate>
  3.                         <table id="tblContainer" cellspacing="1" class="tablesorter">
  4.                             <thead>
  5.                                 <tr>
  6.                                     <th>
  7.                                         <a href="#">Ref.</a>
  8.                                     </th>
  9.                                     <th>
  10.                                         <a href="#">Name</a>
  11.                                     </th>
  12.                                     <th>
  13.                                         <a href="#">DOB</a>
  14.                                     </th>
  15.                                     <th>
  16.                                         <a href="#">Relationship</a>
  17.                                     </th>
  18.  
  19.                                 </tr>
  20.                             </thead>
  21.                             <tbody>
  22.                                 <tr id="itemPlaceholder" runat="server" />
  23.                             </tbody>
  24.                         </table>
  25.                     </LayoutTemplate>
  26.                     <ItemTemplate>
  27.                         <tr>
  28.                             <td>
  29.                                 <%#Eval("Id")%>
  30.                             </td>
  31.                             <td>
  32.                                 <%#Eval("FirstName")%> <%#Eval("LastName")%>
  33.                             </td>
  34.                             <td>
  35.                                  <%#Eval("BirthDate", "{0:MMM dd, yyyy}")%>
  36.                             </td>
  37.                             <td>
  38.                                 <%#Eval("Relationship")%>
  39.                             </td>
  40.                            
  41.                             <td>
  42.                            
  43.                     <asp:HyperLink ID="lnkEdit" runat="server"  NavigateUrl='<%#Eval("Id", "~/HumanResource/HREditDependentPopUp.aspx?id={0}")%>' ToolTip="Edit this dependent">Edit</asp:HyperLink>
  44.                            
  45.                             </td>
  46.                         </tr>
  47.                     </ItemTemplate>
  48.                     <EmptyDataTemplate>
  49.                         <br />
  50.                     </EmptyDataTemplate>
  51.                 </asp:ListView>
Add Comment
Please, Sign In to add comment