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
Error: "DataTable already belongs to another DataSet."
Port replication to another IP
Which strategies to use for a program written in python?
Cannot print any PDF document, only option is to save as .prn and then it does not print.
Powershell WMI Query
Server Side Includes folder not in the right place?
Local Printing when VPN'd in to Work
Can I retrieve all my Windows XP settings and programs after I re-installed Windows on a seperate folder?
Intelligent Filter want to know which mails were blocked
Sharepoint - Simple project pages