asp中英文翻页问题,菜鸟求助啊~!!~!

来源:百度知道 编辑:UC知道 时间:2024/06/16 22:02:17
我有4个独立的翻页跳转文件,2个中文,2个英文。
在ASP中调用时,显示总是不对,无法按条件显示。
page1.asp和page2.asp是中文,epage1.asp和epage2.asp是英文。

代码如下:条件是当i=1 时显示中文翻页,当i=2时显示英文翻页。

<%if i=1 then%>
<!--#include file="page1.asp"-->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<%
j=1
for i=1 to x
if (j mod 2)=1 then
response.write "<tr>"
end if
%>
<td align="center" valign="top" whith="200"><table width="370" height="100" border="0" cellpadding="5" cellspacing="0">
<tr align="left" valign="top">
<td width="18%" align="right

一开始你的i从呢来,不知道从呢来,你怎么去调用相应的网页,所以出来的是elseif的页面了,如何是从上一个页面传递过来的,那应该是正确的显示

a

你的东西不全,不好回答.你可以用response.write 输出i的值,慢慢调试一下