易截截图软件、单文件、免安装、纯绿色、仅160KB

asp从数据库中输出的东西换行

 <%  
Set rs=Server.CreateObject("ADODB.RecordSet")
sql="select * from 0791idc_News where BigClassName='家装课堂' order by ID desc"
rs.Open sql,Conn,1,1
if rs.eof and rs.bof then
  response.Write("暂时没有记录")
else
%>
                <%
rs.PageSize=15 
for j=1 to rs.PageSize
ViewList=3
%>
  <td width="33%">
   <table width="100%"  border="0" align="center" cellpadding="3" cellspacing="0">
             <tr>
                 <td width="5%" height="27">&nbsp;</td>
                 <td width="5%" valign="middle" style="border-bottom:1px dotted #9b7022;"><img src="images/a.gif" width="9" height="9"/></td>
                   <td width="85%" align="left" valign="middle" style="border-bottom:1px dotted #9b7022;"><div align="left" style="margin-left:5px;"><a href="shownews.asp?id=<%= RS("id") %>&BigClass=<%=RS("BigClassName")%>" target="_blank" title="<%= RS("TITLE") %>"><%=cutstr (rs("title"),15)%></a></div></td>
                    <td width="5%">&nbsp;</td>
    </tr>                      
         </table>
<%
if j mod ViewList =0 then
response.Write"</td></tr>"
else
response.Write"&


相关文档:

如何在asp中设置302和301跳转


常用的重定向方式有: 301 redirect, 302 redirect 与 meta fresh:
ASP 中,我们习惯使用 Response.Redirdect 来实现页面的跳转,但是这种跳转方式的状态是 302 的,属于临时跳转,对于搜索引擎来说,是一种不友好的重定向方式。
ASP 3.0 中,有了另一种方式,即 Response.Transfer 。关于这个,可以查询相关的信息。
......

一个ASP替换函数img里面多余的代码

一个ASP替换函数img里面多余的代码
 
<%
Response.Write(Server.HTMLEncode(FixImg("<img onclick=""if(this.width>screen.width-461) window.open('qq/20082181405371.jpg');"" alt="""" border=""0"" src=""qq/20082181405371.jpg"" />")))
%>
<%
'功能:将IMG代码格式化为<img src= ......

ASP程序整合UCenter Server方法和实现

本程序是asp实现 php uc_client 功能
程序说明
网上的一些代码号称UCenter 整合ASp,但是大部分都没有一个实例,只有一个加密解密函数,很多新手无法利用其进行实际应用。
近期公司网站项目--课堂无忧 需整合asp ucenter,研究了一把UCenter,写了这个范例程序
虽然只简单写了登陆和注册部分功能的实现,其余模块您可以 ......

asp分页显示源代码

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="conn.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equi ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号