C#的.net 有access 的OleDb连数据库,插入怎么搞定???
如;

<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Import Namespace="System" %>
<html>

<style type="text/css"></style>
<script language="C#" runat="server">
void Insert_Click(Object sender, EventArgs e)
{    // 创建连接对象cn
   OleDbConnection cn=new OleDbConnection();
   // 设置连接字符串,以便访问Microsoft Access的eShops.mdb数据库
   cn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;"+
                       "Data Source="+Server.MapPath("..\\table.mdb");
                       
    cn.Open();
     OleDbCommand cm=new OleDbCommand("Insert into table( name,email,qq,msn,maipage,title,contect) valves('"+name.Text+"','"+email.Text+"','"+qq.Text+"','"+msn.Text+"','"+main.Text+"','"+title.Text+"','"+contect.Text+"')",cn) ;                 
    
    OleDbDataReader dr=cm.ExecuteReader();

   // 关闭连接
   cn.Close();
}
(数据库已经建立好了)

/////////////////////////////////////不能执行!不明白.能帮忙解释一下吗?