58 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			58 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<%@ Page Language="C#" AutoEventWireup="true" CodeFile="fileUpload.aspx.cs" Inherits="upload_fileUpload" %>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<html xmlns="http://www.w3.org/1999/xhtml" >
							 | 
						|||
| 
								 | 
							
								<head runat="server">
							 | 
						|||
| 
								 | 
							
								    <title>上传文件</title>
							 | 
						|||
| 
								 | 
							
								     <link href="../ZhangPuStyle.css" type="text/css" rel="stylesheet" />
							 | 
						|||
| 
								 | 
							
								     <base  target=_self> 
							 | 
						|||
| 
								 | 
							
								</head>
							 | 
						|||
| 
								 | 
							
								<body>
							 | 
						|||
| 
								 | 
							
								    <form id="form1" runat="server">
							 | 
						|||
| 
								 | 
							
								    <div>
							 | 
						|||
| 
								 | 
							
								        <br />
							 | 
						|||
| 
								 | 
							
								        <br />
							 | 
						|||
| 
								 | 
							
								        <table align="center">
							 | 
						|||
| 
								 | 
							
								                                <tr>
							 | 
						|||
| 
								 | 
							
								                                    <td>
							 | 
						|||
| 
								 | 
							
								                                        <asp:Label ID="Label51" runat="server" CssClass="Label" Text="上传文件"></asp:Label></td>
							 | 
						|||
| 
								 | 
							
								                                    <td align="left">
							 | 
						|||
| 
								 | 
							
								                                        <asp:FileUpload ID="fileUpload1" runat="server" Width="401px" /></td>
							 | 
						|||
| 
								 | 
							
								                                    <td>
							 | 
						|||
| 
								 | 
							
								                                         </td>
							 | 
						|||
| 
								 | 
							
								                                    <td>
							 | 
						|||
| 
								 | 
							
								                                         
							 | 
						|||
| 
								 | 
							
								                                    </td>
							 | 
						|||
| 
								 | 
							
								                                </tr>
							 | 
						|||
| 
								 | 
							
								                                 <tr>
							 | 
						|||
| 
								 | 
							
								                                                    <td>
							 | 
						|||
| 
								 | 
							
								                                                        <asp:Label ID="Label6" runat="server" CssClass="Label" Text="附件说明"></asp:Label></td>
							 | 
						|||
| 
								 | 
							
								                                                    <td align="left">
							 | 
						|||
| 
								 | 
							
								                                                        <asp:TextBox ID="txtFileDesc" runat="server" CssClass="TextBox" MaxLength="25">
							 | 
						|||
| 
								 | 
							
								                                                        </asp:TextBox>
							 | 
						|||
| 
								 | 
							
								                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFileDesc"
							 | 
						|||
| 
								 | 
							
								                                                            ErrorMessage="*">*</asp:RequiredFieldValidator>
							 | 
						|||
| 
								 | 
							
								                                                        <asp:Button ID="btnFileUpload" runat="server" CssClass="Button" Text="上传" OnClick="btnSubmit_Click" /></td>
							 | 
						|||
| 
								 | 
							
								                                                    <td align="left">
							 | 
						|||
| 
								 | 
							
								                                                    </td>
							 | 
						|||
| 
								 | 
							
								                                                    <td>
							 | 
						|||
| 
								 | 
							
								                                                         </td>
							 | 
						|||
| 
								 | 
							
								                                                </tr>
							 | 
						|||
| 
								 | 
							
								                                <tr>
							 | 
						|||
| 
								 | 
							
								                                    <td>
							 | 
						|||
| 
								 | 
							
								                                    </td>
							 | 
						|||
| 
								 | 
							
								                                    <td align="left">
							 | 
						|||
| 
								 | 
							
								                                        <asp:Label ID="lbuploadmessage" runat="server" CssClass="Label"></asp:Label></td>
							 | 
						|||
| 
								 | 
							
								                                    <td align="left">
							 | 
						|||
| 
								 | 
							
								                                    </td>
							 | 
						|||
| 
								 | 
							
								                                    <td>
							 | 
						|||
| 
								 | 
							
								                                         
							 | 
						|||
| 
								 | 
							
								                                    </td>
							 | 
						|||
| 
								 | 
							
								                                </tr>
							 | 
						|||
| 
								 | 
							
								                            </table>
							 | 
						|||
| 
								 | 
							
								    </div>
							 | 
						|||
| 
								 | 
							
								    </form>
							 | 
						|||
| 
								 | 
							
								</body>
							 | 
						|||
| 
								 | 
							
								</html>
							 |