yns_tarea.asp
资源名称:gov_1.0.rar [点击查看]
上传用户:yjkj1008
上传日期:2020-10-17
资源大小:1496k
文件大小:1k
源码类别:
电子政务应用
开发平台:
HTML/CSS
- <%@LANGUAGE="VBSCRIPT"%>
- <!--#include file="Connections/conn_news.asp" --> <% '请尊重作者劳动成果不要删除以上信息 '业一新闻系统3.0正式版 '主页:http://yeyi.net '论坛:http://bbs.yeyi.net '业一网络 承接各种网站制作 '程序开发 软件开发业务 '业务联系 '电话: 13007310512 '联系人:郝亚平 'QQ:24344842 (只谈业务,技术问题请访问论坛) '请尊重作者劳动成果不要删除以上信息 %>
- <html>
- <head>
- <title></title>
- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <LINK href=site.css rel=stylesheet>
- </head>
- <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
- <%
- If request("action")="modify" Then
- Dim rs__MMColParam
- rs__MMColParam = "1"
- If (Request.QueryString("n_id") <> "") Then
- rs__MMColParam = Request.QueryString("n_id")
- End If
- %>
- <%
- Dim rs
- Dim rs_numRows
- Set rs = Server.CreateObject("ADODB.Recordset")
- rs.ActiveConnection = MM_conn_news_STRING
- rs.Source = "SELECT * FROM t_news WHERE n_id = " + Replace(rs__MMColParam, "'", "''") + ""
- rs.CursorType = 0
- rs.CursorLocation = 2
- rs.LockType = 1
- rs.Open()
- rs_numRows = 0
- %>
- <% If Not rs.EOF Or Not rs.BOF Then %>
- <%=(rs.Fields.Item("n_content").Value)%>
- <% End If ' end Not rs.EOF Or NOT rs.BOF %>
- <%
- rs.Close()
- Set rs = Nothing
- %>
- <% End If %>
- </body>
- </html>
English
