208 lines
7.8 KiB
Plaintext
208 lines
7.8 KiB
Plaintext
|
|
<%@ Control Language="C#" AutoEventWireup="true" Codebehind="ExcelInput.ascx.cs"
|
|||
|
|
Inherits="Song.Site.Manage.Utility.ExcelInput" %>
|
|||
|
|
<%@ Register Assembly="WeiSha.WebControl" Namespace="WeiSha.WebControl" TagPrefix="cc1" %>
|
|||
|
|
.
|
|||
|
|
<fieldset id="fdPanel1" runat="server">
|
|||
|
|
<legend><3E><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>Excel<65><6C><EFBFBD><EFBFBD></legend>
|
|||
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="0" class="tableContext">
|
|||
|
|
<tr>
|
|||
|
|
<td width="80" class="right">
|
|||
|
|
ģ<>壺</td>
|
|||
|
|
<td>
|
|||
|
|
<asp:HyperLink ID="linkDataTmp" Target="_blank" runat="server" CssClass="linkTmp"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{0}ģ<><C4A3></asp:HyperLink>
|
|||
|
|
<span style="color: Red"><3E><><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD>ʽ<EFBFBD>밴<EFBFBD><EBB0B4>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
<20>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD>ݣ<EFBFBD></td>
|
|||
|
|
<td>
|
|||
|
|
<cc1:FileUpload ID="fuLoad" runat="server" Width="350px" group="upload" FileAllow="xls|xlsx"
|
|||
|
|
nullable="false"></cc1:FileUpload>
|
|||
|
|
<asp:Button ID="btnUp" OnClick="btnUp_Click" runat="server" Text="<22>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD>" verify="true"
|
|||
|
|
group="upload" /></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
״̬<D7B4><CCAC></td>
|
|||
|
|
<td>
|
|||
|
|
<asp:Label ID="lbState" runat="server" Text="<22>ȴ<EFBFBD><C8B4>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD>"></asp:Label>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
<asp:Label ID="lbError1" runat="server" ForeColor="Red"></asp:Label>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
1<><31><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Excel<65><6C><EFBFBD><EFBFBD><EFBFBD>밴<EFBFBD><EBB0B4>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><br />
|
|||
|
|
2<><32>Excel<65>ĵ<EFBFBD>֧<EFBFBD><D6A7>Excel97<39><37>2003<30><33>2007<30><37>2010<31><30><EFBFBD>ְ汾<D6B0><E6B1BE>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
<asp:Button ID="btnNext1" runat="server" Text="<22><>һ<EFBFBD><D2BB>" Visible="false" OnClick="btnNext1_Click" />
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</fieldset>
|
|||
|
|
<fieldset id="fdPanel2" runat="server" visible="false">
|
|||
|
|
<legend><3E>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD></legend>
|
|||
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="0" class="tableContext">
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
|
<td>
|
|||
|
|
<20><><EFBFBD>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD>ĵ<EFBFBD> <20><><asp:Label ID="lbFile2" runat="server" Text=""></asp:Label><3E><>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td width="80" class="right">
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
|
<td>
|
|||
|
|
<asp:DataList ID="dlWorkBook" runat="server" RepeatDirection="Horizontal">
|
|||
|
|
<ItemTemplate>
|
|||
|
|
<asp:Button ID="btnWorkBook" runat="server" CssClass="workbook" Text='<%# Eval("Name","{0}")+"<22><>"+Eval("Count","{0}<7D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")%>'
|
|||
|
|
CommandArgument='<%# Container.ItemIndex %>' OnClick="btnSheet_Click"></asp:Button>
|
|||
|
|
</ItemTemplate>
|
|||
|
|
</asp:DataList>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
״̬<D7B4><CCAC></td>
|
|||
|
|
<td>
|
|||
|
|
<20><>ѡ<EFBFBD><D1A1>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>ġ<EFBFBD><C4A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
<asp:Label ID="lbError2" runat="server" ForeColor="Red"></asp:Label>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
1<><31><EFBFBD><EFBFBD>ǰExcel<65>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><asp:Literal ID="ltSheetCount" runat="server"></asp:Literal><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><br />
|
|||
|
|
2<><32><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϸ<EFBFBD><CFB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ť<EFBFBD><C5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
<asp:Button ID="btnBack2" runat="server" Text="<22><>һ<EFBFBD><D2BB>" OnClick="btnBack2_Click" />
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</fieldset>
|
|||
|
|
<fieldset id="fdPanel3" runat="server" visible="false">
|
|||
|
|
<legend><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>Excel<65>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF>ֶεĶ<CEB5>Ӧ<EFBFBD><D3A6>ϵ</legend>
|
|||
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="0" class="tableContext">
|
|||
|
|
<tr>
|
|||
|
|
<td class="right" width="80px">
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
|
<td>
|
|||
|
|
<20><><EFBFBD>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD>ĵ<EFBFBD> <20><><asp:Label ID="lbFile3" runat="server" Text=""></asp:Label><3E><><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD><asp:Label
|
|||
|
|
ID="lbSheet3" runat="server" Text=""></asp:Label>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
<asp:DataList ID="dlColumn" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
|
|||
|
|
<ItemTemplate>
|
|||
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|||
|
|
<tr>
|
|||
|
|
<td width="100px" align="right" class="right">
|
|||
|
|
<asp:Label ID="lbColumn" Text='<%# Eval("name") %>' runat="server" Font-Bold="True"></asp:Label></td>
|
|||
|
|
<td width="20px" style="text-align:center">→
|
|||
|
|
</td>
|
|||
|
|
<td > <asp:DropDownList ID="ddlColumnForField" runat="server"></asp:DropDownList></td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</ItemTemplate>
|
|||
|
|
<ItemStyle Width="300px" />
|
|||
|
|
</asp:DataList>
|
|||
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="0" class="tableContext">
|
|||
|
|
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
<asp:Label ID="lbError3" runat="server" ForeColor="Red"></asp:Label>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right" width="80">
|
|||
|
|
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Excel<65><6C><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶΣ<D6B6>excel<65><6C><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF>е<EFBFBD><D0B5>ֶΣ<D6B6><br />
|
|||
|
|
2<><32>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD>ƥ<EFBFBD>䣬<EFBFBD><E4A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>ȫ<EFBFBD><C8AB>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>ö<EFBFBD>Ӧ<EFBFBD><D3A6>ϵ<EFBFBD><CFB5>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
<asp:Button ID="btnBack3" runat="server" Text="<22><>һ<EFBFBD><D2BB>" OnClick="btnBack_Click" />
|
|||
|
|
|
|||
|
|
<asp:Button ID="btnInput" runat="server" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnInput_Click" ForeColor="Red" />
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</fieldset>
|
|||
|
|
<fieldset id="fdPanel4" runat="server" visible="false">
|
|||
|
|
<legend><3E><><EFBFBD>ݵ<EFBFBD><DDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD></legend>
|
|||
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="0" class="tableContext">
|
|||
|
|
<tr>
|
|||
|
|
<td class="right" width="80px">
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
|
<td>
|
|||
|
|
<20><><EFBFBD>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD>ĵ<EFBFBD> <20><><asp:Label ID="lbFile4" runat="server" Text=""></asp:Label><3E><><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD><asp:Label
|
|||
|
|
ID="lbSheet4" runat="server" Text=""></asp:Label>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
״̬<D7B4><CCAC>
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
<20>ɹ<EFBFBD><C9B9><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
<asp:Label ID="lbSuccCount" runat="server" ForeColor="Green" Font-Bold="True"></asp:Label>
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
|
<asp:Label ID="lbErrorCount" runat="server" ForeColor="#C00000" Font-Bold="True"></asp:Label>
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><br />
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="right">
|
|||
|
|
|
|||
|
|
</td>
|
|||
|
|
<td>
|
|||
|
|
<asp:Button ID="btnBack4" runat="server" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnBack4_Click" />
|
|||
|
|
<asp:Button ID="btnBack5" runat="server" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Excel<65><6C><EFBFBD><EFBFBD>" OnClick="btnBack5_Click" />
|
|||
|
|
<asp:Button ID="btnOutpt" runat="server" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" Visible="false" OnClick="btnOutpt_Click" />
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</fieldset>
|
|||
|
|
<fieldset id="fdPanel5" runat="server" visible="false">
|
|||
|
|
<legend>ʧ<>ܵ<EFBFBD><DCB5><EFBFBD><EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD></legend>
|
|||
|
|
<asp:GridView ID="gvError" runat="server" AutoGenerateColumns="True">
|
|||
|
|
</asp:GridView>
|
|||
|
|
</fieldset>
|