先根据计算然后赋值
<%
if (....){
temp=1;
}
else{
temp=2;
}
%>然后在post的时候传递这个值
<form......>
<input name="uptimes" tabindex="<%=index++%>" value=<%=temp%> >
......
</form>
但在写入数据库的时候发生数据类型错误
求教:怎么改数据类型?
<%
if (....){
temp=1;
}
else{
temp=2;
}
%>然后在post的时候传递这个值
<form......>
<input name="uptimes" tabindex="<%=index++%>" value=<%=temp%> >
......
</form>
但在写入数据库的时候发生数据类型错误
求教:怎么改数据类型?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货