chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore - 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC出席狀況.ascx.cs" Inherits="Education.Forms.辦訓狀況.UC出席狀況" %>
|
||||
<asp:ObjectDataSource ID="ds出席" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="Select" TypeName="Education.DAC_學員出席"
|
||||
OnSelected="ds出席_Selected">
|
||||
<SelectParameters>
|
||||
<asp:Parameter Name="學員編號" Type="String"></asp:Parameter>
|
||||
<asp:Parameter Name="訓練課程編號" Type="Int32"></asp:Parameter>
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:DataList ID="dl出席狀況" runat="server" RepeatDirection="Horizontal"
|
||||
DataSourceID="ds出席" CellPadding="3" RepeatColumns="2" >
|
||||
<ItemStyle HorizontalAlign="Left" />
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lbDate" runat="server" Text='<%# Eval("課程日期", "{0:yyyy-MM-dd}") %>'></asp:Label>
|
||||
<asp:Label ID="lbPresent" runat="server" Font-Bold="true" Text='<%# Get出席狀況Text(Eval("出席狀況", "{0}")) %>'
|
||||
ForeColor='<%# Get出席狀況Color(Eval("出席狀況", "{0}")) %>'></asp:Label>
|
||||
<asp:Label ID="lbReason" runat="server" Text='<%# Eval("請假事由", "{0}").Length > 0 ? "(" + Eval("請假事由", "{0}") + ")" : "" %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:DataList>
|
||||
<asp:Label runat="server" ID="lb未填寫" Visible="false" EnableViewState="false">(未填寫出席狀況)</asp:Label>
|
||||
|
||||
Reference in New Issue
Block a user