Click here to Skip to main content
14,644,700 members
Rate this:
Please Sign up or sign in to vote.
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 0:34am
digimanus 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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100