当前位置: 代码迷 >> ASP >> ASP调入SQL数据库时,数据库字段有先后顺序,该怎么处理
  详细解决方案

ASP调入SQL数据库时,数据库字段有先后顺序,该怎么处理

热度:196   发布时间:2012-02-11 09:51:34.0
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看看
  相关解决方案