[求助]请问以下代码怎么不能获取表单值?浏览时它老是提示:至少一个参数没有被指定值
<%@ Import Namespace="system.data" %>
<%@ Import Namespace="system.data.oledb" %>
程序代码:
<script language=\"vb\" runat=\"server\">
Dim myconnection As OleDbConnection Dim mycommand As OleDbCommand Sub submit_onclick(ByVal sender As Object, ByVal e As EventArgs) myconnection = New OleDbConnection(\"PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=\" & \"h:\asp.net\information.mdb\") mycommand = New OleDbCommand(\"insert into information (name,home,relationship,message) values(name,home,relationship,message)\", myconnection) myconnection.Open() mycommand.ExecuteNonQuery() myconnection.Close() End Sub
</script>