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
How to raise Hyperlinkfield event in a gridview using asp.net 3.5
All Domain Users cannot connect to Exchange through the usual Outlook
Need gaming hardware upgrade recommendations
jvm default socket address
UAC Whilelist?
Internet Explorer 8 - Number of processes
How to dump one MySQL record to put in another database?
What exactly is meant by ADO.NET?
Show floating point decimal place even for whole numbers in php
Sort elements after explode in php