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
C# HttpWebRequest different pages in same site
Trace Route and Cisco asa 5505
Java Toolkit
Powershell - Comparison Operators with Multiple Values
sbs 2003 moving mailbox to sbs 2008 very slow
How to use Merge (from Sql 2008) with this query
How do I get rid of the pastel colors in an Excel chart when I switch row/column data?
batch file or script that emails when finding "error" in file
How do you find a bug in a stored procedure?
Convert mailbox to room