asp转aspx
C# code:
<!--#include file="conn.asp"-->
<%
aa=Replace(Request.Cookies("id"),"$",",")
Request_key=Replace(aa,"undefined","")
aa1="in("+ Request_key +")"
aa2=Replace(aa1,",)",")")
SQL = "SELECT * from Ws_BookList where id "&aa2&""
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
do while (Not RS.Eof) and (I<INT(RS.recordcount))
%>
<ul class="ule">
<li class="li1"><a href="http://www.56xs.net/LN/<%=rs("nclassid")%>.aspx"><%=rs("nclass")%></a></li>
<li class="li2"><a href="http://www.56xs.net/Book/<%=rs("id")%>index.aspx"><%=rs("booktitle")%></a></li>
<li class="li3"><a href="http://www.56xs.net/<%=rs("bookhtml")%><%=rs("bookupdateid")%>.shtml" target="_blank"><%=rs("bookupdatetitle")%></a></li>
<li class="li4"><%=rs("bookwriter")%></li>
</ul>
<%
RS.MoveNext
Loop
%>
这段程序的作用是读取cookies里
相关问答:
owc11满足不了要求,有没有更好点的,asp能调用的
目前没发现,帮你顶!
应该没有了吧
自已写。顶
帮顶,关注!
好像就这个了,目前还没看到其他得上市使用。。。帮顶!
自己再顶一下
好像是没有 ......
我想打印数据库里面读取出来的多条数据内容,实现批量打印
先导入excel或者word,然后在打印
或者购买web打印控件
使用acitvex打印。如果不需要选择属性,设置属性,就不需要商业的了。
<style media= ......
<%
szSQL = "SELECT * from ProgInfo WHERE Type_ID=21"
rsData.Open szSQL1,con,1,3
do while not rsData.eof%>
<table width="100%" border="0" cellspacing="1 ......
function CheckOpwd(){//验证用户名
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......