I am developing a page in asp.net with c#. On this page I have a grid view control which showing customer name and its website. The problem is that when i click on this website address then the URL so created is not in the correct format.
例如,如果我的客户名称是雅虎,其网站网址是www.yahoo.com。 然后点击网站链接错误。
我的牛页代码:
<asp:TemplateField>
<ItemTemplate>
<asp:HyperLink ID="linkWebsite" runat="server" Text= <%#Eval("Website") %>
NavigateUrl= <%# Eval("Website") %> />
</ItemTemplate>
</asp:TemplateField>
My page URL is: http://localhost:4294/ReadyToCode/Admin/ManageCustomer.aspx
then the website URL will become http://localhost:4294/ReadyToCode/Admin/www.yahoo.com
如何只获得www.yahoo.com?
请帮助我