本表单的内容提交到access库里面
<%@ page contentType= "text/html; charset=gb2312 " language= "java " import= "java.sql.* " errorPage= " " %>
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<title> 表单 </title>
</head>
<body>
<form action= " " method= "get " name= "dingdan ">
<td width= "47% " align= "right "> 金额:* </td>
<td width= "53% " > <input type= "text " name= "merchantID " maxlength= "12 " size= "20 " value= "123456 ">
</td>
</tr>
<tr>
<td width= "47% " align= "right "> 日期:* </td>
<td width= "53% " > <input type= "text " name= "certNumber " maxlength= "10 " size= "20 " value= "20070102 ">
</td>
</tr>
<tr>
<td width= "47% " align= "right "> 订单号码:* </td>
<td width= "53% " > <input type= "text " name= "orderNum " maxlength= "10 " size= "20 " value= "1234567890 ">
</td>
</tr>
<input name= "sumbit " type= "button " value= "提交 " />
</form>
</body>
</html>
怎么链接????急用!
小弟先谢谢各位大侠了。
------解决方案--------------------访问MDB的连接串如下:
--访问本地MDB的ADO连接串:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Test.MDB;User ID=admin;Password=;Jet OLEDB:Database Password=000
其中第一个password为Access的用户admin的密码,第二个为Access数据库的密码
如果未设置数据库密码,可省略此项。
--ADO连接串(访问网络MDB):
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\服务器名或IP\共享目录\Test.MDB;User ID=admin;Password=;Jet OLEDB:Database Password=;
其中第一个password为Access的用户admin的密码,第二个为Access数据库的密码
如果未设置密码,可省略相关项。