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
albert albertPosted Apr 25, 2014, 2:54 AM
VulpesPosted Apr 24, 2014, 6:13 AM