连接不上
谁能给我一个测试数据库是否连接上的程序
看下面的程序有问题
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={sql server};dsn=tongxun;server=(local);uid=use;pwd=123;database=tongxun"
strsql="insert into tongxun(姓名,性别,年龄,电话,地址) values('"&request.form("name")&"', '"&request.form("sex")&"','"&request.form("age")&"','"&request.form("tel")&"')"
conn.execute strsql
set conn=nothing
response.write"已输入完毕!"
%>
上满的程序在conn.execute strsql出有问题