string strSQL = "delete from GrindingWheelInformation where listView1.SelectedItems[0]'" + listView1.SelectedItems.ToString() + "'";
string connstr = "Provider=Microsoft.Jet.OleDb.4.0;";
connstr += @"Data Source=D:\Merger20150208_caohuan\GEARCNC.mdb";
OleDbConnection tempconn = new OleDbConnection(connstr);//連接數據庫
String str = "select * from GrindingWheelInformation";//創建執行SQL語句
listView1.Items.Remove(listView1.SelectedItems[0]);
看看delete語句執行了沒有,執行語句是否拼接正確。