以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 Dot NET,C#,ASP,VB 』 (http://bbs.xml.org.cn/list.asp?boardid=43) ---- 基于asp+sql的数据库修改问题[求助] (http://bbs.xml.org.cn/dispbbs.asp?boardid=43&rootid=&id=33141) |
-- 作者:drury -- 发布时间:5/26/2006 10:55:00 PM -- 基于asp+sql的数据库修改问题[求助] 我做了一个基于asp+sql的 网上办公系统 近期就要完工 但是遇到了一个棘手问题 (因为不能上传抓图,所以我写的很详细,) 数据库: 表: article 列名 : id int 4 content ntext 16 tltle nvarchar 50 ifpass smallint 2 updata smallint 2 ---------------------------------------------- up.asp (代码) <% if session("degree")<>1 then response.redirect "login.asp" end if %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title></title> <link rel="stylesheet" type="text/css" href="style.css"> <style type="text/css"> <!-- .STYLE1 {color: #FF9933} --> </style> </head> <!--#include file="conn.asp"--> <% dim sql dim rs Set rs= Server.CreateObject("ADODB.Recordset") sql="select * from article where ifpass=1 and updata=0 order by id desc" rs.open sql,conn,1,1 %> <div align="center"><center> --------------------------------------------------- 这个文件的功能目的是 ----------------------------------附上文件conn.asp代码---- 谢谢!!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
62.500ms |