<Html> <Body BgColor=White> <H3 align="center">请正确填写下面各项</h3> <Hr></H3> <Div id="FileInfo" Visible="False" runat="server"> <Asp:Label id="FSize" runat="server"/><br> <Asp:Label id="FName" runat="server"/><br> <Asp:Label id="FDisplay" runat="server"/> <Asp:Label id="FDisplay1" runat="server"/> </Div> <Form Enctype="multipart/form-data" onsubmit="return guestbook_Validator(this)" runat="server"> 上传文件 <Input Type="File" id="FileUp" runat="server" size="20"><br> 图片属性:<input type="radio" value="<%=request.cookies("dgxyl").values("dgxylbj")%>" name="R1" checked>本班<input type="radio" value="全 校" name="R1">全校(本班则只在本班显示,全校则在全校显示)<P> 图片说明:<br> <asp:TextBox id="TextBox1" runat="server" Width="233px" Height="141px"> </asp:TextBox> <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="请输入图片说明"> </asp:RequiredFieldValidator><br> <Asp:button id="Upload" OnClick="UploadFile" Text="上传图片" runat="server"/> </form> <Hr> <p>注意:</p> <ol> <li><b>严禁上传污染环境的照片,否则账号将被删除!</b></li> <li><font color="#808000"><b>请详细填写照片说明,图片说明不详细将会被视为乱传图片,将会被删除!</b></font></li> </ol> </Body> </Html> |
正在阅读:asp.net上传图片并同时生成缩略图asp.net上传图片并同时生成缩略图
2004-02-14 09:34
出处:搜狐IT
责任编辑:huangpeidan
键盘也能翻页,试试“← →”键