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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:35:50+00:00 2026-05-12T05:35:50+00:00

In ASP.NET 3.5, you can assign a Select link and change what the link

  • 0

In ASP.NET 3.5, you can assign a Select link and change what the link actually displays. But can you you assign one of the fields in the gridview to act as a select button?

For instance, all my records have a “SAMPLE ID” Field. It would be great to have each unique SAMPLE ID be a link that goes to the details view. I cannot find any setting under the gridview ‘edit columns’ that appears to assign that behavior to a certain field.

I know this has to be possible because I rarely see ASP.NET websites that actually use the “Select” link on the side – most of them let you click one of the fields.

How can I do this?

Using Visual Studio 2008, ASP.NET 3.5, and C# 3.0!

  • 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-12T05:35:50+00:00Added an answer on May 12, 2026 at 5:35 am

    I would add a ButtonField with the DataTextField as the database table column you want to bind it to, and make the CommandName “Select”. I just did this in Visual Web Developer 2008 Express on a GridView and it worked. Good luck!

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

Sidebar

Related Questions

Can I assign more than one CssClass to a control in asp.net?How to do
Can ASP.NET themes be used per user session ? Ex : For one user,User
I've just started learning ASP.net and I can't seem to get the GridView to
How can I assign classes to the online/ASP.NET (not a desktop app) version of
Can I assign a URL to Url.AbsoluteUri in ASP.NET?
I have an ASP.Net MVC 3 web application in which an administrator can assign
I have this exact issue ASP.net can’t update page from event handler and it's
Is there any limit that application state in asp.net can store ?? Am trying
ASP.NET MVC can generate HTML elements using HTML Helpers, for example @Html.ActionLink() , @Html.BeginForm()
I have some experience in ASP.Net and can work my way around it without

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.