YuanTrainView.aspx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" EnableEventValidation = "false" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="YuanTrainView.aspx.cs" Inherits="YuanTrainView" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function butYuan_onclick() {
    var strselect;
    var strYuan = window.showModalDialog("Dialog/Yuan.aspx",strselect,"status:no;resizable:no;dialogwidth:420px;dialogheight:250px");
	if (strYuan != null)
	{
		var Yuan_ID = document.getElementById ('ctl00$ContentPlaceHolder1$Yuan_ID');
		Yuan_ID.value = strYuan.Yuan_ID;
		
		var Yuan_Name = document.getElementById ('ctl00$ContentPlaceHolder1$Yuan_Name');
		Yuan_Name.value = strYuan.Yuan_Name;
	}
}

// ]]>
</script>
        <div class="c_MainLeft">
	<ul style="text-align:left;">
    <li style="list-style-type: none;height:130px;">
        <img src="images/038.png" /></li><li style="list-style-type: none;height:40px;">共有<asp:Label ID="lbl_Count" runat="server"
            Style="color: red"></asp:Label>条培训记录</li><li style="list-style-type: none;height:20px;">按员工查询</li><li style="list-style-type: none;height:40px;"><asp:TextBox ID="Yuan_Name" runat="server"
            CssClass="c_input" style="width: 80px"></asp:TextBox>
        <input id="butYuan" class="c_button" name="butYuan" style="width: 30px" type="button"
            value="..." onclick="return butYuan_onclick()" />
        <asp:HiddenField ID="Yuan_ID" runat="server" />
    </li><li style="list-style-type: none;height:40px;padding:0px;">
                <asp:Button ID="Button1" runat="server" CssClass="c_button" Text="按员工查询" OnClick="butYuan_Click" />
                <asp:Button ID="butAll" runat="server" CssClass="c_button" Text="查询全部" OnClick="butAll_Click" /></li></ul>
        </div>
        <div class="c_MainRight">
            <div class="c_Menu3">
                <asp:LinkButton ID="lbYuanTrainAdd" Text="新增" runat="server" CssClass="c_Menu3Button" OnClick="lbYuanTrainAdd_Click"></asp:LinkButton>
                <asp:LinkButton ID="lbYuanTrainEdit" runat="server" CssClass="c_Menu3Button" OnClick="lbYuanTrainEdit_Click">修改</asp:LinkButton>
                <asp:LinkButton ID="lbExport" runat="server" CssClass="c_Menu3Button" OnClick="lbExport_Click">导为Excel</asp:LinkButton></div>
            <asp:GridView ID="GV_Yuan_Train" runat="server" AutoGenerateColumns="False" CellPadding="4"
                ForeColor="#333333" OnRowDeleting="GV_Yuan_Train_RowDeleting" OnSelectedIndexChanging="GV_Yuan_Train_SelectedIndexChanging"
                Style="width: 100%" OnRowDataBound="GV_Yuan_Train_RowDataBound" AllowPaging="True" OnPageIndexChanging="GV_Yuan_Train_PageIndexChanging" PageSize="14">
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:BoundField DataField="Yuan_Train_Date" HeaderText="培训日期">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle Width="15%" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Yuan_Name" HeaderText="员工姓名">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle Width="15%" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Yuan_Train_Text" HeaderText="培训内容">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle Width="50%" />
                    </asp:BoundField>
                    <asp:CommandField HeaderText="选择" ShowSelectButton="True">
                        <HeaderStyle Width="10%" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:CommandField>
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True">
后面还有 14 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。