Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
http:// for www
albert albert
Apr 24 2014 4:44 AM
678
Reply
Hi everybody,
I have this:
[code]
If (TxtURL.Text.StartsWith("http://") And TxtURL.Text.EndsWith(".com")) OrElse (TxtURL.Text.Contains("www")) Then
TxtURL.Text = "http://" & TxtURL.Text
[/code]
So I enter a link, like for example this: www.ad.nl, then it will set to: http://www.ad.nl
But the problem is that if I want to update record. For example the name, then in the database the link will be: http://http://www.ad.nl
and not: http://www.ad.nl
Thank you
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to update Datefield
Validation