b0y-101 Mini Shell


Current Path : E:/www/sci/academic/WebRUDB/WebRUDB version1.1.0/WebRUDB/WebForm/
File Upload :
Current File : E:/www/sci/academic/WebRUDB/WebRUDB version1.1.0/WebRUDB/WebForm/Trash.aspx

<%@ page title="" language="VB" masterpagefile="~/WebForm/MasterPage.master" autoeventwireup="false" inherits="WebForm_Trash, App_Web_lw0t2i4q" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../StyleSheet/StyleSheet.css" rel="stylesheet" />
    <style type="text/css">
    .auto-style3 {
        font-size: medium;
    }
    .auto-style28 {
        width: 100%;
        height: 50px;
    }
   
        .auto-style29 {
        font-size: small;
    }
        .auto-style30 {
            text-align: center;
        }
        .auto-style31 {
            text-align: left;
        }
        .auto-style32 {
            color: #FF0000;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Main" Runat="Server">
    <link href="../StyleSheet/StyleSheet.css" rel="stylesheet" />
    <script type ="text/javascript">
    
     function confirm_Delete() {
        if (confirm("ยืนยันการลบข้อมูล") == true)
            return true
        else
            return false
    }

</script>

    <table class="style1">
    <tr>
        <td class="auto-style3"><strong>Trash :</strong></td>
    </tr>
    <tr>
        <td class="auto-style31">
            <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/icon-alert.png" Width="36px" />
            <span class="auto-style32">ข้อมูลใน Trash หากทำการลบแล้วจะไม่สามารถกู้คืนได้อีก กรุณาตรวจสอบข้อมูลก่อนทำการลบจาก Trash</span></td>
    </tr>
    <tr>
        <td class="auto-style31">
            <table class="style1">
                <tr>
                    <td class="auto-style30">
                            <asp:GridView ID="gvItems" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" Width="800px" DataKeyNames="ItemID">
                                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                <Columns>
                                    <asp:BoundField DataField="TitleName" HeaderText="ชื่อเรื่อง" ReadOnly="True" />
                                    <asp:BoundField DataField="Author" HeaderText="ผู้แต่ง" ReadOnly="True" />
                                    <asp:BoundField DataField="ItemDept" HeaderText="ภาควิชา" ReadOnly="True" />
                                    <asp:BoundField DataField="PublicYear" HeaderText="ปีที่พิมพ์" ReadOnly="True" />
                                    <asp:BoundField DataField="PublicDesc" HeaderText="ประเภทสิ่งพิมพ์" ReadOnly="True" />
                                    <asp:BoundField DataField="ItemLevel" HeaderText="ระดับ" ReadOnly="True" />
                                    <asp:TemplateField HeaderText="สภานะ">
                                        <EditItemTemplate>
                                            <div class="auto-style4">
                                                <asp:RadioButtonList ID="rdolstStatus_Edit" runat="server" RepeatDirection="Horizontal">
                                                    <asp:ListItem Value="10">Active</asp:ListItem>
                                                    <asp:ListItem Value="00">Inactive</asp:ListItem>
                                                </asp:RadioButtonList>
                                            </div>
                                            <asp:Label ID="lbItemStatus" runat="server" Text='<%# Bind("ItemStatus") %>' Visible="False"></asp:Label>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:Label ID="lbItemStatus" runat="server" Text='<%# Bind("ItemStatus") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="ดูข้อมูล">
                                        <EditItemTemplate>
                                            <asp:ImageButton ID="imgbtnView" runat="server" ImageUrl="~/Images/Search2.png" Width="24px" />
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:ImageButton ID="imgbtnView" runat="server" ImageUrl="~/Images/Search2.png" Width="24px" />
                                            <asp:Label ID="Label1" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:CoMMandField ShowEditButton="True" 
                            ButtonType="Image" CancelImageUrl="~/Images/Button-Cancel-icon-16.png" 
                            EditImageUrl="~/Images/Edit.jpg" 
                            UpdateImageUrl="~/Images/Button-Reload-icon-16.png" HeaderText="Edit" 
                            CausesValidation="False" />
                                  <asp:TemplateField ShowHeader="False" HeaderText="ลบ">
                            <ItemTemplate>
                                <asp:ImageButton ID="imgbtnDelete" runat="server" AlternateText="Delete" 
                                    CausesValidation="False" CoMMandName="Delete"  OnClientClick="return confirm_Delete()"
                                    ImageUrl="~/Images/Actions-edit-delete-icon-16.png" />
                                <asp:Label ID="lbFilePath" runat="server" Text='<%#Bind("GetFileUpload") %>' Visible="False"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                                </Columns>
                                <EditRowStyle BackColor="#999999" />
                                <EmptyDataTemplate>
                                    <strong>
                                    <table class="auto-style28" style="border-style: solid; border-width: thin">
                                        <tr>
                                            <td class="auto-style29"><strong>empty data</strong></td>
                                        </tr>
                                    </table>
                                    </strong>
                                </EmptyDataTemplate>
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                            </asp:GridView>
                        </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
                            &nbsp;</td>
    </tr>
    <tr>
        <td class="auto-style30">&nbsp;</td>
    </tr>
</table>
</asp:Content>



Copyright © 2019 by b0y-101