How to solve a syntax error when using this INSERT INTO statement and the .NET OleDb namespace?
问题 I keep getting an error when I attempt to insert values into a Access database. The error is syntactic, which leads to the following exception: OleDbException was unhandled Syntax error in INSERT INTO statement. private OleDbConnection myCon; public Form1() { InitializeComponent(); myCon = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\File.mdb"); } private void insertuser_Click(object sender, EventArgs e) { OleDbCommand cmd = new OleDbCommand(); myCon.Open(); cmd