Click here to Skip to main content
15,792,870 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have a subdomain, and i want to retrieve a file from that subdomain to main domain by hyperlink in gridview and i store path of that file in database. For that i use following code:

            <asp:BoundField DataField="id" HeaderText="S No" ReadOnly="True"  SortExpression="id" Visible="false" />
                <asp:TemplateField SortExpression="">
                         <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("pathname") %>'><%# Eval("remark")%></asp:HyperLink>

here in pathname store the path of file only not including subdomain address so how could i do it.
I try lots of way but i am not sussess so plz help me soon
Updated 7-Sep-11 1:34am
Herman<T>.Instance 7-Sep-11 6:35am    
it is always urgent...So do not mention this in your question please

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900