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 7757673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:09:20+00:00 2026-06-01T13:09:20+00:00

I am trying to create a specific aspx page where I display clickable links

  • 0

I am trying to create a specific aspx page where I display clickable links based on information in a sql database. For example one column could be the anchor tag another column could be the path to the link itself etc. In the past I would pull this information from sql and put it into a non-visible Label (say linkLabel1). Then in the page itself I would insert <%linkLabel1.text%> to insert the link path from the database to the appropriate area.

I hope I’m not confusing things too much here and that makes sense how I explained it.

What I would like to do is set up a way that I could simply enter a new row into a SQL table with link information and a web page automatically displays the new link for me.

I guess I am mostly looking for insight, opinions, or directions of what approach to consider. I can elaborate if I was unclear (wouldn’t be awfully surprising if I was not).

Thanks in advance for anyone’s time on this matter.

  • 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-06-01T13:09:21+00:00Added an answer on June 1, 2026 at 1:09 pm

    Since you are displaying this in a table, you could use a GridView for this. The columns that will display the link could be defined as hyperlink columns as so:

         <Columns>
            <asp:HyperLinkField
                 HeaderText="Header text"
                 DataNavigateUrlFields="PropertyContainingTheHRefForTheAnchor"
                 DataTextField="PropertyContainingTheTextForTheAnchor"
                 />
         </Columns>
    

    So for example, if you return a record set containing these columns:

    TextProperty             PathProperty
    See Details              Assets/SomeOther/
    Click me                 Products/AnotherPath/
    

    Your grid will render these as:

    <a href="Assets/SomeOther/">See Details</a>
    <a href="Products/AnotherPath/">Click me</a>
    

    If you define the column as:

         <Columns>
           <asp:HyperLinkField
                 HeaderText="Header text"
                 DataNavigateUrlFields="PathProperty"
                 DataTextField="TextProperty"
                 />
         </Columns>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create an application that posts specific information on a user's
I'm trying to create an option to select a specific entry in a SQL
I hope someone can help with the following. I'm trying to create a user-specific
Trying to create Database as follows: USE Master GO IF NOT EXISTS(SELECT [Name] FROM
I am trying to create a rawcontact in android that has a specific contact
I've been trying to create a directory following a specific structure, yet nothing appears
I'm trying to create a generic list from a specific Type that is retrieved
We are trying to create a more specific [Authorize] Attribute for Asp.Net MVC [AttributeUsage(AttributeTargets.All)]
I'm trying to create a basic system that will allow only specific users to
I'm trying to create a feature to register my event handler to a specific

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.