this.oleDbVFPDataAdapter.UpdateCommand = this.oleDbCommand2; // // oleDbDeleteCommand1 // this.oleDbDeleteCommand1.CommandText = "DELETE FROM customer WHERE cust_id = ?"; this.oleDbDeleteCommand1.Connection = this.oleDbVFPConn; this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Cust_id", System.Data.OleDb.OleDbType.VarChar, 6, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "Cust_id", System.Data.DataRowVersion.Original, null)); // // oleDbInsertCommand1 // this.oleDbInsertCommand1.CommandText = "INSERT INTO customer (company, contact, title, address, city, region, postalcode," + " country, phone, fax, maxordamt, mylongfieldname, cust_id) VALUES (?, ?, ?, ?, ?" + ", ?, ?, ?, ?, ?, ?, ?, ?)"; this.oleDbInsertCommand1.Connection = this.oleDbVFPConn; this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("company", System.Data.OleDb.OleDbType.VarChar, 40, "company")); this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("contact", System.Data.OleDb.OleDbType.VarChar, 30, "contact")); // Other...snipped to save space. // Key point parameters are defined in order they're in command this.oleDbInsertCommand1.UpdatedRowSource = System.Data.UpdateRowSource.None; // // oleDbCommand2 // this.oleDbCommand2.CommandText = "UPDATE customer SET company = ?, contact = ?, title = ?, address = ?, city = ?, r" + "egion = ?, postalcode = ?, country = ?, phone = ?, fax = ?, maxordamt = ?, mylon" + "gfieldname = ? WHERE cust_id = ?"; this.oleDbCommand2.Connection = this.oleDbVFPConn; this.oleDbCommand2.Parameters.Add(new System.Data.OleDb.OleDbParameter("company", System.Data.OleDb.OleDbType.VarChar, 40, "company")); // Other...snipped to save space. // Key point parameters are defined in order they're in command this.oleDbCommand2.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_cust_id", System.Data.OleDb.OleDbType.VarChar, 6, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "cust_id", System.Data.DataRowVersion.Original, null));Cetin