ASP图片分页问题 - Web 开发 / ASP
我用ASP做了一个图片分页 但是当没有图片时 页面布局就乱了 请帮我看看 可能是<TR> 或者<TD>没有弄好
<table width="495" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" >
<%
lm=request("lm")
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from news where lm='"&lm&"' order by time desc",conn,1,1
consize=9
rs.pagesize=consize
If Len(Request("page")) = 0 Then
iPage = 1
Else
iPage = Request("page")
End If
If Not rs.Eof Then
rs.AbsolutePage = iPage
End If
for i=1 to rs.pagesize
if not rs.eof then
if (i-1) mod 3 =0 then
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> </tr>
<%end if%>
<td ><table width="122" border="0" cellpadding="0" cellspacing="0" style="margin-top:6px;">
<tr>
<td width="122" height="50" >
<table width="122" border="0" align="center" cellpadding="
相关问答:
function CheckOpwd(){//验证用户名
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
asp虚拟主机实现伪静态的方法:
1、 重写url参数
Step1: 建立前台文件index.asp,修改url参数形式。由于读取数据库中的记录不是专题的重点,故直接给出:
<!--#include file="config.asp" -->
&l ......
1.asp.net做的一个答题页面,如何实时限时后自动提交,请大家给点思路
限时的时间信息存放在数据库中
2.如果答题时间设置的较长,如何方式session超时后页面无效
谢谢
用js方法来控制
回复内容太短了。。
js ......
我有两个dropdownlist都绑好了值,想选中一个dropdownlist中的值,然后在另一个dropdownlist中选中相应的一项。
不是从新绑定第二个dropdownlist,是在已经绑好的值当中选中一个。
我想用js写
求助
你可以把drop ......
C# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Runtime.InteropServices;
nam ......