我的建议1- 用session变量eg:in asp you use: Session("MyVariable") = MyValue, then use this varaible in any asp page in the same application, which means all pages are in the same virtually directory.
-bigdesk(NightLight);
2001-8-11{305}(#163173@0)
2- 在asp page之间传递变量eg: in a asp page, you write:
<% dim MyPara
MyPara = "Good Night"
response.redirect( "AnotherASPPage.asp?" & sever.HTMLEncode (MyPara))
%>
用这种方法的缺点是,如果你要在所有的page中使用相同的变量职的话,你必须不厌其烦的在每个page之间不断的股捣传递变量,所以建议你用session.
Select * From Mytable where field=' "+Request.QueryString("itemid")+"'
结果是空。为什么?
Try to "response.write" your sql query. Then run the query on query analyzer. If it doesn't work, there is something wrong with the sql statement. If it works, check the connection string.
-guest:;
2001-8-11(#163520@0)