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

这一句应该怎么写?
if   tel2 <> " "   then
    response.write " <input   size= " "16 " "   name= " "tel2 " "  
                      type= " "text " "   class= " "txtBox " "   value= "&rs1( "tel2 ")& "> "
end   if

这里读不出tel2的值,这句应该怎么写?

------解决方案--------------------
要加连接符&
------解决方案--------------------
response.write " <input size= " "16 " " name= " "tel2 " "
type= " "text " " class= " "txtBox " " value= "&rs1( "tel2 ")& "> "

这里你是说哪里读不出来?
是name= " "tel2 " " 这里?
还是value= "&rs1( "tel2 ")& "> "这里?
没明白你问的意思。

如果希望name属性是动态的,那么name= " & tel2 & "
------解决方案--------------------
value= ' "&rs1( "tel2 ")& " '> "