Microsoft
Software
Hardware
Network
Question : Remove space from textbox automatically
Hi,
I have a post code lookup textbox, but my database stores the postcode without a space, I need some code which will check and remove the space automatically if one exists before the DB lookup is performed.
Can anyone help me?
Thanks
Answer : Remove space from textbox automatically
Try using Replace.
Dim strPostCode As String = "98532 55 322"
strPostCode = strPostCode.Replace(" ", String.Empty)
Random Solutions
SQL Insert trigger if one field is changed
Views versus Queries
Backing up to an external USB drive on virtualised SBS 2008 (Hyper-V)
question on developing database applications
Gifs or PNGS
Change year in date column
Redirected folders not accessible
VoIP phones not working but PC's still have internet question
vbscript error messages
Where is the "iPhone Simulator" folder located?