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
Printing MS Access 2007 / 2010 report to PDF in a specific folder on local hdd
rbac and su on aix
no ip address
Dell Latitude D630 Memory
Dynamically show all of gridview and expand page
VMware Data Recovery
Cisco Router Multiple WAN IP
Reinstalling new xcode, but need to remove current one for the room
Add textboxes at run time in vb.net 2003
Learning curve from Windows Mobile to iPhone