-
Notifications
You must be signed in to change notification settings - Fork 0
/
Alert_Mail.aspx
executable file
·78 lines (77 loc) · 3.75 KB
/
Alert_Mail.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<%@ Page Title="" Language="C#" MasterPageFile="~/Setting.Master" AutoEventWireup="true"
CodeBehind="Alert_Mail.aspx.cs" Inherits="Toollife.Alert_Mail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="container">
<div align="center">
<h2>
Employee E-mail</h2>
</div>
<div id="dataShow" align="center">
<asp:GridView ID="alermail" runat="server" AllowPaging="True" OnPageIndexChanging="alermail_PageIndexChanging"
AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None"
BorderWidth="1px" CellPadding="3" GridLines="Vertical" OnRowCommand="alermail_RowCommand"
DataKeyNames="PS_CODE,PS_DESC,PS_SUPPT_EMAIL,NT_ACC">
<AlternatingRowStyle BackColor="#DCDCDC" />
<Columns>
<asp:BoundField DataField="PS_CODE" HeaderText="Process Step" />
<asp:BoundField DataField="PS_SUPPT_EMAIL" HeaderText="E-Mail" />
<asp:BoundField DataField="NT_ACC" HeaderText="NT ACC" />
<asp:ButtonField ButtonType="Button" CommandName="Select" HeaderText="Edit" ShowHeader="True"
Text="Edit" />
</Columns>
<FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
<HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
<PagerSettings FirstPageText="First" LastPageText="Last" PageButtonCount="5" Mode="NumericFirstLast" />
<PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
<RowStyle BackColor="#EEEEEE" ForeColor="Black" />
<SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F1F1F1" />
<SortedAscendingHeaderStyle BackColor="#0000A9" />
<SortedDescendingCellStyle BackColor="#CAC9C9" />
<SortedDescendingHeaderStyle BackColor="#000065" />
</asp:GridView>
</div>
<br />
<br />
<h3 align="center">
Add/Edit</h3>
<div id="add">
<form id="addpart">
<div class="row">
<div class="col-25">
<label for="partno"><b>
Process Step</b></label>
</div>
<div class="col-75">
<asp:DropDownList ID="selectPS" runat="server" AutoPostBack="True">
</asp:DropDownList>
</div>
</div>
<div class="row">
<div class="col-25"><b>
E-MAIL</b>
</div>
<div class="col-75">
<asp:TextBox ID="emailIN" runat="server"><b></b></asp:TextBox>
</div>
</div>
<br />
<div class="row">
<div class="col-25"><b>
NT ACC</b>
</div>
<div class="col-75">
<asp:TextBox ID="ntaccIn" runat="server"><b></b></asp:TextBox>
</div>
</div>
<br />
<div class="row">
<asp:Button ID="editButton" runat="server" OnClick="edit_Click" Text="SAVE" Width="180px" />
<asp:Button ID="addButton" runat="server" OnClick="addButton_Click" Text="SAVE" Width="180px" />
</div>
</form>
</div>
</div>
</asp:Content>