Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4246292
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:57:14+00:00 2026-05-21T03:57:14+00:00

I am helping my daughter build an asp.net website that has an Access database.

  • 0

I am helping my daughter build an asp.net website that has an Access database. We are using a DataList with a couple fields inside the ItemTemplate. The one that is giving me trouble is the Hyperlink. The code is below. When the page loads the hyperlink renders like this:

 <a id="ContentPlaceHolder1_DataList1_lnk_6" href="#http://www.washingtonfaire.com/#" target="_blank">Washington Midsummer Renaissance Faire</a>

But when I click on the link, it tries to navigate to “http://localhost:1852/BOOMPiratesB/Raids.aspx#http://www.washingtonfaire.com/#”

What are we doing wrong?

Here is our code.

<asp:DataList ID="DataList1" runat="server" DataSourceID="AccessDataSource1"> 
        <ItemTemplate> 
                  <asp:HyperLink id="lnk" runat="server" NavigateUrl='<%# Eval("Link") %>' Target="_blank" Text='<%# DataBinder.Eval(Container.DataItem, "VenueName")%>'> 
                  </asp:HyperLink> 

                  <br /> 
            <asp:Label ID="DateTextLabel" runat="server" Text='<%# Eval("DateText") %>' /> 
            <br /> 
            <asp:Label ID="CityStateLabel" runat="server" Text='<%# Eval("CityState") %>' /> 
            <br /> 
<br /> 
        </ItemTemplate> 
    </asp:DataList> 
    <asp:AccessDataSource ID="AccessDataSource1" runat="server"  
        DataFile="~/App_Data/my.mdb"  
        SelectCommand="SELECT [VenueName], [Link], [DateText], [Season], [DateStart], [CityState] FROM [qpgRaid]"> 
    </asp:AccessDataSource>

I cannot see where the extra # signs are coming from. They don’t appear to be in the field in the table.

It’s very puzzling. And insight would be most appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T03:57:14+00:00Added an answer on May 21, 2026 at 3:57 am

    Have a look at this question

    I guess you are using an access hyperlink column to store the link. If you convert it to a text column it should start working fine, or you may have to strip the ‘#’s manually.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm helping build an ASP.NET C# application with multiple custom configuration files. We store
I am helping re-code a website that allows teachers to text message/email their students
I'm helping a typical small company that started with a couple of outsourced systems
I'm helping out in a forum that runs on SMF. The site has been
I'm helping build an Android application that is in synchronization with a Ruby on
I am helping to maintain this website http://www.groupme.my/national/ For certain deals with a long
I'm helping maintain a program that's essentially a friendly read-only front-end for a big
thanks for helping me setting my cron jobs, crontab has really been a gold
I'm helping develop a MVC application in Visual Studio 2008 using the Entity Model
I'm helping a colleague with a recurring issue that's just started happening to multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.