有点累
做了将近半个月的asp头有点发晕,本来以为还能多学点封装的技术没想到,都被老师作出来了,我主要就是搞点页面布局什么的。还有一些表单的处理等。但是,还是学了点东西.不管怎么说吧,总归开发文档还是学会了一点,为以后的网站设计布局奠定了一定的基础。sqlserver也复习了一下。asp中遇到了一些问题由于表单提交数据过多,向数据库提交的过程中发送量过大,无法完成提交处理。
password=request.Form("Password")
username=request.Form("Username")
resumeappearance=request.Form("Resumeappearance")
idcard=request.Form("Idcard")
age=request.Form("Age")
birthday=request.Form("Birth_year")&"-"&request.Form("Birth_month")&"-"&request.Form("Birth_day")
sex=request.Form("Sex")
height=request.Form("Height")
weight=request.Form("Weight")
race=request.Form("Race")
phone=request.Form("Phone")
homephone=request.Form("Homephone")
mobile=request.Form("Mobile")
otherphone=request.Form("Otherphone")
qq=request.Form("Qq")
homepage=request.Form("Homepage")
email=request.Form("Email")
populationlocated=request.Form("Populationlocated")
nowaddress=request.Form("Nowaddress")
address=request.Form("Address")
'update1--------------------------------
kind=request.Form("Kind")
job1=request.Form("Job1")
job2=request.Form("Job2")
job3=request.Form("Job3")
workplace1=request.Form("Workplace1")
workplace2=request.Form("Workplace2")
workplace3=request.Form("Workplace3")
nowsalary=request.Form("Nowsalary")
expectsalary=request.Form("Expectsalary")
providehose=request.Form("Providehose")
degree=request.Form("Degree")
school=request.Form("School")
professionalcategory=request.Form("Professionalcategory")
category=request.Form("Category")
graduatetime=request.Form("Graduatetime")
title=request.Form("Title")
foreignlanguage1=request.Form("Foreignlanguage1")
level1=request.Form("Level1")
foreignlanguage2=request.Form("Foreignlanguage2")
level2=request.Form("Level2")
computer=request.Form("Computer")
commonspeech=request.Form("Commonspeech")
driverlicence=request.Form("Driverlicence")
certificate=request.Form("Certificate")
'update2--------------------------------
otherability=request.Form("Otherability")
worktime=request.Form("Worktime")
experience=request.Form("Experience")
trainingrecord=request.Form("Trainingrecord")
limitedtime=request.Form("Limitedtime")
remark=request.Form("Remark")
这么多的表单元素传过来分析,处理超难过,我查了msdn中string长度没想到才五百,插入处理开来是没法用了
我又在想是不是应该把他拆分一下,先用insert再搜索insert的自加的id再用update where id=“”,但是再运用
中还是出了问题,其中height属性不知道是出错了还是怎么了,一提交他就出问题
问题还再解决中