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
Thinkpad z60m wireless adapter shows with yellow ?
What is the impact of recreating an OU certifier on current users?
.NET Citrix SDK
Why am I locked out of my files?
CASE Function - MS Excel
Devcon rescan/Device Manger scan for hardware changes or new hardware
Windows 2008 R2 Server local security policy is locked?
What is the equivalent of html anchor control's name attribute in asp.net Hyperlink control
Datareader.Read() not returning any results
exchange 2007 out of office replies not working properly