Picture upload WebForm (sketch by auto Generation)

Source: Internet
Author: User
Tags date header valid visual studio
web| Upload | upload <%@ Page language= "C # codebehind=" FeUploadPic.aspx.cs "autoeventwireup=" false "inherits=" cj168. Web.Mag.Admins.FeData.feUploadPic "%>
<%@ Register tagprefix= "cj168" tagname= "Header" src= "Modules/headerfe.ascx"%>
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" >
<HTML>
<HEAD>
<title>fedata</title>
<meta content= "Microsoft Visual Studio 7.0" name= "Generator" >
<meta content= "C #" Name= "Code_language" >
<meta content= "JavaScript" name= "vs_defaultClientScript" >
<meta content= "http://schemas.microsoft.com/intellisense/ie5" name= "Vs_targetschema" >
<style>body {font-size:9pt}
. calpicdate {font-size:9pt; Font-family:verdana, Helvetica, Sans-serif}
. valid {font-size:9pt; Color:red}
TD {font-size:9pt}
</style>
</HEAD>
<body ms_positioning= "GridLayout" >
<table width= "100%" >
<tr>
<td><cj168:header id= "Header1" runat= "Server" ></cj168:header></td>
</tr>
</table>
<form id= "Fedata" method= "post" enctype= "Multipart/form-data" runat= "Server" >
<table id= "Table1" cellspacing= "0" cellpadding= "1" width= "750" border= "1" >
<TR>
&LT;TD width= > Picture title </TD>
<td><asp:textbox id= "Txtboxpictitle" runat= "Server" ></asp:textbox><br>
<asp:requiredfieldvalidator id= "Requiredfieldvalidator1" runat= "server" errormessage= "please fill in the title of the picture. "cssclass=" valid "controltovalidate=" Txtboxpictitle "></asp:requiredfieldvalidator><br>
<asp:regularexpressionvalidator id= "Vldcatname" errormessage= "picture title at least 2 characters, should not contain '"! @ # $% ^ & * () < > "{} []?" ,? ¥ "cssclass=" valid "controltovalidate=" Txtboxpictitle "validationexpression=" [^ ' ^ "^" ^\^!^@^#^$^%^\ ^^ &^*^ (^) ^ <^>^ "^" ^?^. ^,^? ^¥^\{^\}^\][^\]]{2,} "runat=" Server ></asp:regularexpressionvalidator></TD>
</TR>
<TR>
<TD> Picture Date </TD>
<td><asp:textbox id= "txtboxpicdate" runat= "Server" width= "></asp:textbox><asp:calendar" id = "Calpicdate" runat= "Server" cssclass= "calpicdate" width= "" selectmonthtext= "this month" selectweektext= "This Week" nextprevformat= "Fullmonth" onselectionchanged= "caldateselected" >
<nextprevstyle cssclass= "Calpicdate" ></NextPrevStyle>
<weekenddaystyle forecolor= "Red" ></WeekendDayStyle>
<todaydaystyle font-bold= "True" forecolor= "Red" backcolor= "#ccccff" ></TodayDayStyle>
<selecteddaystyle backcolor= "Black" font-bold= "true" ></SelectedDayStyle>
</asp:calendar><BR>
<asp:requiredfieldvalidator id= "Requiredfieldvalidator2" runat= "server" errormessage= "Please select or fill in the picture date. "cssclass=" valid "controltovalidate=" Txtboxpicdate "></asp:requiredfieldvalidator><br>
<asp:customvalidator id= "CustomValidator1" errormessage= is not a valid date format "cssclass=" valid "controltovalidate=" Txtboxpicdate "runat=" Server "onservervalidate=" Servervalidatecheckdate "&g



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.