看了半天,发现没什么错误啊可就是不行啊,IE说insert into语法错误
______________________________________________________________________
<%@ import namespace="system.data" %>
<%@ import namespace="system.data.oledb" %>
<script language="vb" runat="server">
sub page_load(sender as object,e as eventargs)
dim conn as new oledbconnection("provider=microsoft.jet.oledb.4.0;data source=" & server.mappath("../userinfo.mdb"))
dim cmd as new oledbcommand("insert into userinfo(id,user_name,password,real_name,e-mail,submit_date) values('32','tm_ma','1234567','jay','mtm53520@163.com',#3/23/2007# )",conn)
conn.open()
cmd.executenonquery()
conn.close()
message.text="添加成功"
end sub
</script>
<html>
<body>
<form runat="server">
<asp:label id="message" runat="server"/>
</form>
</body>
</html>
_______________________________________________________________________________