21 Dec 2010 by OriginalGriff
I would suggest using parameterised queries - it would look a lot neater, and may get rid of the problem:string QueryDB = "INSERT INTO Details (Order, ProductCode, ProductName, Tray, Index, Depth, DeviceID, IO) VALUES (@OR, @PC, @PN, @TR, @IN, @DP, @DID, @IO)";dbCommand = new...