home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
61.19.244.139
/
61.19.244.139.zip
/
61.19.244.139
/
CompulWeb_Realtime
/
PRB_A006.aspx.bak
< prev
next >
Wrap
Text File
|
2013-06-06
|
20KB
|
314 lines
<%@ Page Language="VB" MasterPageFile="~/PRB_MP01.master" AutoEventWireup="false"
CodeFile="PRB_A006.aspx.vb" Inherits="PRB_A006" Title="ส่งไฟล์ Statement ให้ตัวแทน" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ACT" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxUploadControl" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
</script>
<style type="text/css">
.style1
{
width: 100%;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MPcphContent" runat="Server">
<%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>--%>
<table cellpadding="0" cellspacing="0" id="tbContent" class="styletbContentSub">
<tr>
<td style="text-align: left; vertical-align: top">
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbSearch">
<tr class="styletbFS">
<td colspan="5">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td style="width: 120px; text-align: left;">
<asp:DropDownList ID="ddlSearch" runat="server" Width="120px">
<asp:ListItem Value="0">รหัสตัวแทน</asp:ListItem>
<asp:ListItem Value="1">ชื่อ</asp:ListItem>
<asp:ListItem Value="2">นามสกุล</asp:ListItem>
<asp:ListItem Value="3">อีเมล์</asp:ListItem>
<asp:ListItem Value="4">รหัสบัตรประชาชน</asp:ListItem>
</asp:DropDownList>
</td>
<td style="width: 200px; text-align: left;">
<asp:TextBox ID="txtSearch" runat="server" Width="200px"></asp:TextBox>
</td>
<td style="text-align: left">
<asp:Button ID="btnSearch" runat="server" Text="<% $Resources: Resource,A002btnSearch %>"
Width="80px" />
</td>
<td style="width: 10px;">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="5">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbgrdUser">
<tr>
<td style="width: 10px">
</td>
<td>
<asp:Panel ID="panGrdSearch" runat="server" Height="150px" HorizontalAlign="Left"
ScrollBars="Auto" Width="525px" Wrap="False">
<asp:GridView ID="grdSearch" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
AutoGenerateColumns="False" Width="100%" CellSpacing="1">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
<asp:BoundField HeaderText="รหัสตัวแทน" DataField="i_ag">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField HeaderText="ชื่อ-นามสกุล" DataField="AgentName">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField HeaderText="Login Name" DataField="F_UserName">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="F_Email" HeaderText="E-Mail">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
</Columns>
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</asp:Panel>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
</table>
<asp:Panel ID="panUserDetail" runat="server" Width="100%">
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbUserDetail">
<tr>
<td style="width: 10px">
</td>
<td>
<asp:Label ID="lblAgent" runat="server" Text=">> "></asp:Label>
<asp:Label ID="lblAgentID" runat="server"></asp:Label>
<asp:Label ID="lblUserName" runat="server"></asp:Label><asp:Label ID="lblAgentDetail"
runat="server"></asp:Label></td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td style="text-align: center">
<asp:RadioButtonList ID="radAddEdit" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
Width="150px">
<asp:ListItem Selected="True" Value="Edit">Edit</asp:ListItem>
<asp:ListItem Value="Add">Add</asp:ListItem>
</asp:RadioButtonList>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td>
<asp:Panel ID="panGrdDetail" runat="server" HorizontalAlign="Left" ScrollBars="Horizontal"
Width="525px" Wrap="False">
<asp:GridView ID="grdDetail" runat="server" AutoGenerateColumns="False" CellPadding="4"
CellSpacing="1" ForeColor="#333333" GridLines="None" Width="100%">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
<asp:BoundField DataField="F_i_ag" HeaderText="รหัสตัวแทน">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="F_StartDate" HeaderText="วันที่">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="F_Desc" HeaderText="รายละเอียด">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="F_FlieName" HeaderText="ชื่อไฟล์">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
</Columns>
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</asp:Panel>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
<%--</ContentTemplate>
</asp:UpdatePanel>--%>
<asp:Panel ID="panCtrl" runat="server">
<table cellpadding="0" cellspacing="0" class="style1"
style="vertical-align: top">
<tr style="vertical-align: top">
<td width="10">
</td>
<td width="80" style="vertical-align: top; text-align: right;">
<asp:Label ID="Label1" runat="server" Text="รหัสตัวแทน"></asp:Label>
</td>
<td style="vertical-align: top" width="10">
</td>
<td style="vertical-align: top">
<asp:Label ID="lblAgID" runat="server"></asp:Label>
</td>
<td style="vertical-align: top" width="10">
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="vertical-align: top; text-align: right;" width="80">
<asp:Label ID="Label2" runat="server" Text="รายละเอียด"></asp:Label>
</td>
<td style="vertical-align: top" width="10">
</td>
<td style="vertical-align: top">
<asp:TextBox ID="txtDetail" runat="server" Height="90px" TextMode="MultiLine"
Width="400px"></asp:TextBox>
</td>
<td style="vertical-align: top">
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="vertical-align: top; text-align: right;" width="80">
<asp:Label ID="Label3" runat="server" Text="เลือกไฟล์"></asp:Label>
</td>
<td style="vertical-align: top" width="10">
</td>
<td style="vertical-align: top">
<asp:FileUpload ID="ulcUpload" runat="server" Width="400px" />
</td>
<td style="vertical-align: top">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="4">
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="vertical-align: top; text-align: center;" colspan="3">
<asp:Button ID="btnSave" runat="server" Text="Save" Width="80px" />
<asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="80px" />
</td>
<td style="vertical-align: top">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="4">
</td>
</tr>
</table>
</asp:Panel>
<%--<asp:UpdateProgress ID="udp" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel1">
<ProgressTemplate>
<div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
width: 1500px; position: absolute; text-align: center;">
</div>
<div id="divUDP" align="center" valign="middle" runat="server" style="padding: 5px;
border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
<asp:Image ID="imgUDP" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>--%>
</asp:Content>