goodemployee.ascx

来自「课程设计时使用的」· ASCX 代码 · 共 25 行

ASCX
25
字号
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="GoodEmployee.ascx.cs" Inherits="UserControls_GoodEmployee" %>
 <asp:DataList ID="DataList1" runat="server" Width="156px" CellPadding="4" ForeColor="#333333"> 
 <ItemTemplate>
 <table width="200"  border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td width="80" rowspan="3"><asp:Image ID="Image1"  ImageUrl='<%#DataBinder.Eval(Container.DataItem,"photoPath")%>' runat="server" Height="54px" Width="69px" /></td>
    <td width="120">姓名:<%#DataBinder.Eval(Container.DataItem,"name") %></td>
  </tr>
  <tr>
    <td style="height: 18px"> 部门:<%#DataBinder.Eval(Container.DataItem,"dept")%></td>
  </tr>
  <tr>
    <td style="height: 30px">职务:<%#DataBinder.Eval(Container.DataItem,"job")%></td>
  </tr>
</table>
</ItemTemplate>
     <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
     <AlternatingItemStyle BackColor="White" />
     <ItemStyle BackColor="#E3EAEB" />
     <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
     <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />

</asp:DataList>&nbsp;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?