谢谢!
从你们那儿学到不少东西,拼拼凑凑我的问题终于解决了!
我是这样做的:
<% QuestionTypeID=Request.QueryString("QuestionTypeID")%>
<% coursesname=(Recordset2.Fields.Item("coursesName").Value)
chapterName=(Recordset3.Fields.Item("chapterName").Value)
QuestionType=(Recordset4.Fields.Item("questionTypeName").Value)
%>
<%
select Case QuestionTypeID
Case "0"%>
<a href="#" onClick="Javascript:window.open('Question_add0.asp?coursesname=<%=coursesName%>&chapterName=<%=chapterName%>&QuestionType=<%=questionType%>','','width=650,height=600')">添加题目</a>
<%Case "1"%>
<a href="#" onClick="Javascript:window.open('Question_add1.asp?coursesname=<%=coursesName%>&chapterName=<%=chapterName%>&QuestionType=<%=questionType%>','','width=650,height=700')">添加题目</a>
<%Case "2"%>
<a href="#" onClick="Javascript:window.open('Question_add2.asp?coursesname=<%=coursesName%>&chapterName=<%=chapterName%>&QuestionType=<%=questionType%>','','width=650,height=400')">添加题目</a>
<% End Select %>
高兴啊,谢谢!