change
SqlCommand cmd = new SqlCommand("DELETE FROM Customer" + "WHERE cust_id = @id and cust_order_machine=@com" , conn);
to
SqlCommand cmd = new SqlCommand("DELETE FROM Customer WHERE cust_id = @id and cust_order_machine=@com" , conn);
you need space between
Table name
and
Where