conn.asp

来自「针对网上商城批发零售销售特点开发的综合商城系统,既适合商城零售VIP会员特点,又」· ASP 代码 · 共 32 行

ASP
32
字号
<!--#include file="funct.asp"-->
<%
dim conn,connstr,TimesDB,rs
TimesDB="#sundxShopssddeeeeddddddd.asp"
connstr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(""&TimesDB&"")
On Error Resume Next
	Set conn = Server.CreateObject("ADODB.Connection")
	conn.open connstr
	If Err Then
		err.Clear
		Set Conn = Nothing
		Response.Write "数据库连接出错,请检查连接字串。"'注释,需要把这几个字翻译成英文。
		Response.End
	End If
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../include/css.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
<STYLE type=text/css>
.pad {
	PADDING-LEFT: 150px
}
</style>
<body bgcolor="#FFFFFF" leftmargin="4" topmargin="4" marginwidth="0" marginheight="0">

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?