I think you need to ignore the white spaces while reading from XML and storing in DB.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
1. Read what ever is in XML.
2. Clean up the data (in this case Trim should do) and store in DB.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
Dim x As String = " abc xyz "
x = x.TrimStart(" "c).TrimEnd(" "c)
MsgBox(x)
codeorder
Posting Virtuoso
1,913 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384