Pete,
Is your back-end data SQL Server? Your data won't have extra spaces if the column is defined as varchar() instead of as char(). Or is this not why you're asking?
~~Bonnie
>Hello All, is there a way to remove spaces from textboxes similar to the ! format in VFP, I know about the this.txtMyText.Text.Trim() way just wondered if there was a property I could set