-
Notifications
You must be signed in to change notification settings - Fork 2
/
macDesc.aspx
executable file
·52 lines (45 loc) · 2.58 KB
/
macDesc.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
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageMGT.master" AutoEventWireup="true" CodeFile="macDesc.aspx.cs" Inherits="macDesc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="row text-center">MACHINE ID : <asp:Label runat="server" ID="mid"></asp:Label></div>
<div class="row text-right" style="margin-right:100px;"><a href="svMachines.aspx">BACK</a></div>
<div class="row">
<div class="col-lg-3 text-center"></div>
<div class="col-lg-3 text-center">
ASSEMBLY : <asp:LinkButton ID="aa" runat="server"></asp:LinkButton>
</div>
<div class="col-lg-3 text-center">
ADDED ON : <asp:Label ID="ado" runat="server"></asp:Label>
</div>
<div class="col-lg-3 text-center">
</div>
</div>
<br />
<br />
<div class="text-center text-primary">MACHINE HISTORY</div>
<br />
<div class="row">
<div class="col-lg-6 col-lg-offset-3">
<asp:Table runat="server" ID="tmach" CssClass="table table-hover table-responsive">
<asp:TableHeaderRow>
<asp:TableHeaderCell BorderWidth="1">JOB</asp:TableHeaderCell>
<asp:TableHeaderCell BorderWidth="1">ADDED ON</asp:TableHeaderCell>
<asp:TableHeaderCell BorderWidth="1">ENDED ON</asp:TableHeaderCell>
</asp:TableHeaderRow>
</asp:Table>
</div>
<div class="col-lg-3"></div>
</div>
<asp:SqlDataSource ID="sdcjobs" runat="server" ConnectionString='<%$ ConnectionStrings:automationConnectionString %>' SelectCommand="SELECT * FROM [job] WHERE ([machineID] = @machineID) ORDER BY [startdate] DESC">
<SelectParameters>
<asp:QueryStringParameter QueryStringField="mid" Name="machineID" Type="String"></asp:QueryStringParameter>
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sdcm" runat="server" ConnectionString='<%$ ConnectionStrings:automationConnectionString %>' SelectCommand="SELECT * FROM [machine] WHERE ([machineID] = @machineID)">
<SelectParameters>
<asp:QueryStringParameter QueryStringField="mid" Name="machineID" Type="String"></asp:QueryStringParameter>
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sdcl" runat="server" ConnectionString='<%$ ConnectionStrings:automationConnectionString %>' SelectCommand="SELECT * FROM [location]"></asp:SqlDataSource>
</asp:Content>