I am creating a WebSite using Visual Studio. How do I create a hyperlink to another website like Yahoo or PayPal? I added a hyperlink from the toolbox, but it will only let me link to one of the pages that I created.
How do I create a hyperlink in Visual Basic?
You manually enter the URL in the NavigateURL property.
In the Hyperlink control:
%26lt;asp:Hyperlink runat="server" id="mylink" NavigateURL= "http:// www.somesite. com" Text= "My Link" /%26gt;
Plain old HTML:
%26lt;a href= "http://www. somesite.com"%26gt; My Link%26lt;/a%26gt;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment