日期:2014-05-17  浏览次数:20988 次

ASP调入SQL数据库时,数据库字段有先后顺序
比如先调用后面的字段就没不能显示
<input   name= "department "   type= "text "   id= "department "   value= " <%=cc( "department ")%> ">
<input   name= "craftwork "   type= "text "   id= "craftwork "   value= " <%=cc( "craftwork ")%> ">
这样可以显示,但
<input   name= "craftwork "   type= "text "   id= "craftwork "   value= " <%=cc( "craftwork ")%> ">
<input   name= "department "   type= "text "   id= "department "   value= " <%=cc( "department ")%> ">
记录就显示不出来了


------解决方案--------------------
不应该有这个问题吧!
那你就这样:

<%
cw=cc( "craftwork ")
dm=cc( "department ")
%>
<input name= "craftwork " type= "text " id= "craftwork " value= " <%=cw%> ">
<input name= "department " type= "text " id= "department " value= " <%=dm%> ">


------解决方案--------------------
是备注型的字段把?而且记录打开方式是0,1的?换1,1看看