Arkadaşlar catch bloğu çalışıyor ve insert into söz dizimi hatası veriyor bir türlü çözemedim hatam nerde olabilir ?
OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("~/App_Data\\Learn.mdb"));
conn.Open();
try
{
fuimege.SaveAs(Server.MapPath("~/images/") + fuimege.FileName);
OleDbCommand cm = new OleDbCommand();
cm.Connection = conn;
cm.CommandText = "insert into words(bir,iki,image,uc,insertDate) values ('" + txt1.Text + "','" + txt2.Text + "','" + fuimege.FileName + "','" + txt3.Text + "','" + DateTime.Now + "')";
cm.ExecuteNonQuery();
lbl1.Text = "İşlem başarılı";
txt1.Text = "";
txt2.Text = "";
txt3.Text = "";
fuimege.Dispose();
}
catch (OleDbException ex)
{
lbl1.Text = ex.Message;
txt2.Text = "";
txt3.Text = "";
txt4.Text = "";
fuimege.Dispose();
}