ASP Save Information

Source: Internet
Author: User

<!--#include file= "inc/conn.asp"-->
<!--#include file= "Inc/articlechar.inc"-->
<%
If Request.Form ("jobname") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You have not entered the job, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If request.form ("mane") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You did not enter a name, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If request.form ("sex") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" error: You did not enter gender, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("birthday") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You have not entered the date of birth, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("marry") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You did not enter marital status, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("school") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You have not entered the Graduate school, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("studydegree") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You have not entered a degree, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("specialty") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You did not enter the professional, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("gradyear") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You have not entered the graduation time, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("telephone") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You did not enter the phone, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("email") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You did not enter e-mail, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("address") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" error: You did not enter the contact address, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("ability") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" error: You did not enter the level and ability, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
If Request.Form ("resumes") = "" Then
Response.Write ("<script language=" "JavaScript" ">alert" "Error: You have not entered a resume, please return to check!! ""); History.go ( -1);</script> ")
Response.End
End If
Set rs = Server.CreateObject ("ADODB.") Recordset ")
Sql= "SELECT * from Jobbook"
Rs.Open sql,conn,1,3
Rs.addnew
RS ("JobName") =request.form ("JobName")
RS ("mane") =request.form ("mane")
RS ("Sex") =request.form ("Sex")
RS ("Birthday") =request.form ("Birthday")
RS ("Marry") =request.form ("Marry")
RS ("school") =request.form ("school")
RS ("Studydegree") =request.form ("Studydegree")
RS ("specialty") =request.form ("specialty")
RS ("Gradyear") =request.form ("Gradyear")
RS ("Telephone") =request.form ("Telephone")
RS ("email") =request.form ("email")
RS (' address ') =request.form ("Address")
RS ("ability") =htmlencode2 (Request.Form ("ability"))
RS ("resumes") =htmlencode2 (Request.Form ("resumes"))
RS ("Time") =now ()
Rs.update
Rs.close
Response.Write "<script Language=javascript>alert" (' Apply for the application has been submitted successfully! ');"
Response.Write "Javascript:history.go ( -2) </SCRIPT>"
%>

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.