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
Installing other OS (ESXi) on HP StorageWorks X1000
Activesync broken on Exchange 2003
admin rights in windows 7
datetime.now as date
Infopath Error retrieving data from SQL
Paleontology
Unable to VPN
How to redirect dns querries to external DNS
How to convert a stream with output escaping enabled to proper format XML that can be loaded in a XMLDocument object?