主题:急!!!!!!!急!!!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="950"%>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<link href="../css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table border="0" cellspacing="1" cellpadding="5" bgcolor="#DBC2B0"><form id="form1" action="upfile1.asp" method="post"name="form1" OnSubmit="return ab();" enctype="multipart/form-data">
<tr>
<td width="150" height="20" align="right" bgcolor="#FFFFFF" class="t">*名稱:</td>
<td height="20" bgcolor="#FFFFFF">
<input type="text" name="na" size="20"><input type="hidden" name="status"/></td>
</tr>
<tr>
<td height="20" align="right" bgcolor="#FFFFFF" width="150">*年代:</td>
<td height="20" bgcolor="#FFFFFF">
<input type="text" name="time1" size="20">(<%=rs("shop_time")%>)</td>
</tr>
..........
<%@LANGUAGE="VBSCRIPT" CODEPAGE="950"%>
<!--#include file="../conn/db.asp"-->
<!--#include file="upload.inc"-->
<html>
<head>
<title>文件上傳</title>
<link rel="stylesheet" href="t-001.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=big5"></head>
<body background="../images/bg.gif">
<table width="100%" border=0 cellspacing=0 cellpadding=0 class=tb>
<tr><td class=tablebody2 valign=top height=40>
<%
Server.ScriptTimeOut=999999'猁岆斕腔蹦抭盓厥奻換腔恅璃掀誕湮ㄛ憩斛剕扢离﹝
'奻換源宒upload_type硉: 0ˊ拸郪璃ㄛ1ˊlyfuploadㄛ2ˊAspupload3.0ㄛ3ˊchinaaspupload
na=upload.form("na")
time1=upload.form("time1")
set rs=server.CreateObject("adodb.recordset")
rs.open"select * from shop",objconn,2,3
rs.addnew()
rs("shop_title")=na
rs("shop_time")=time1
rs.update
rs.close
set rs=nothing
set objconn=Nothing
end if
。。。。。。
为什么数据库里的shop_title是乱码但shop_time不是
我是用繁体输入的
<html>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<link href="../css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table border="0" cellspacing="1" cellpadding="5" bgcolor="#DBC2B0"><form id="form1" action="upfile1.asp" method="post"name="form1" OnSubmit="return ab();" enctype="multipart/form-data">
<tr>
<td width="150" height="20" align="right" bgcolor="#FFFFFF" class="t">*名稱:</td>
<td height="20" bgcolor="#FFFFFF">
<input type="text" name="na" size="20"><input type="hidden" name="status"/></td>
</tr>
<tr>
<td height="20" align="right" bgcolor="#FFFFFF" width="150">*年代:</td>
<td height="20" bgcolor="#FFFFFF">
<input type="text" name="time1" size="20">(<%=rs("shop_time")%>)</td>
</tr>
..........
<%@LANGUAGE="VBSCRIPT" CODEPAGE="950"%>
<!--#include file="../conn/db.asp"-->
<!--#include file="upload.inc"-->
<html>
<head>
<title>文件上傳</title>
<link rel="stylesheet" href="t-001.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=big5"></head>
<body background="../images/bg.gif">
<table width="100%" border=0 cellspacing=0 cellpadding=0 class=tb>
<tr><td class=tablebody2 valign=top height=40>
<%
Server.ScriptTimeOut=999999'猁岆斕腔蹦抭盓厥奻換腔恅璃掀誕湮ㄛ憩斛剕扢离﹝
'奻換源宒upload_type硉: 0ˊ拸郪璃ㄛ1ˊlyfuploadㄛ2ˊAspupload3.0ㄛ3ˊchinaaspupload
na=upload.form("na")
time1=upload.form("time1")
set rs=server.CreateObject("adodb.recordset")
rs.open"select * from shop",objconn,2,3
rs.addnew()
rs("shop_title")=na
rs("shop_time")=time1
rs.update
rs.close
set rs=nothing
set objconn=Nothing
end if
。。。。。。
为什么数据库里的shop_title是乱码但shop_time不是
我是用繁体输入的