主题:我的插入语句哪错了
<script runat="server">
void Page_Load(Object sender,EventArgs e){
//下面是从表单中获取的
string n=Request["name"];
string c=Request["cate"];
string z=Request["write"];
string cb=Request["cbs"];
string p=Request["price"];
OleDbConnection Conn= new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;"+"Data Source="+Server.MapPath("db1.mdb"));
Conn.Open();
string sql="insert into student(name1,zhuozhe,cbs)"+" values (n,z,cb)";
OleDbCommand Comm=new OleDbCommand(sql,Conn);
Comm.ExecuteNonQuery();
Conn.Close();
}
</script>