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
write into an app.config
Filter on ResultSet
best drupal6 contact form module for anonymour users
Supplied parameter sid is in use.
installed SMTP Service - screwed up my IIS webserver !!
Javascript question on populating required field
Convert a date from "yyMMddHHmmss" into "yyyy-MM-dd HH:mm:ss" format
Stop Moving folders within file servers.
ESX 3.5 Server very slow
Unordered List