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

VulpesRank #55 · 29.2K reputationPosted Apr 24, 2014, 2:13 AM EDT
albert albertRank #2,683 · 519 reputationPosted Apr 24, 2014, 10:54 PM EDT