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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:49:51+00:00 2026-06-01T05:49:51+00:00

I have a datagridview with a datagridviewlinkcolumn bound to a text link in my

  • 0

I have a datagridview with a datagridviewlinkcolumn bound to a text link in my list of objects. The text links are links to files, and the files are buried deep in network storage, making for long links. Is there some way I can change the link display value of the linkcolumn to show only a portion of each full link? ie – just the file name itself?

I’ve read you can use the same header text for the display value of a link column, but I’m wondering if all of the display values could be different.

So to summarize, is it possible to show part of a file link in the linkcolumn, while all of the parts I want to show will be different, and still have the actual link point to the full file path?

  • 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-01T05:49:52+00:00Added an answer on June 1, 2026 at 5:49 am

    Figured it out.

    Not sure if there’s a better way to do this, but I added a shortened version of the link to my object, and in my dataGridView1_CellContentClick event, I get the object associated with the row (dataGridView1.Rows[e.RowIndex].DataBoundItem), and call System.Diagnostics.Process.Start() on the fully qualified file path in the object returned.

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

Sidebar

Related Questions

I have a DataGridView that is bound to a list of objects called BaseChange.
I have a DataGridView object to which I've bound a list of objects (of
I have a DataGridView that is displaying a List of objects (not DataSet). Is
I have a DataGridView bound to a List[of Parts]. The last item in the
I have a DataGridView bound to a LINQ to SQL query expression. I want
I have a datagridview being populated by a collection of objects. the values within
I have a DataGridView with a single column that currently displays a short list
I have a DataGridView (called DataGridViewSecurity) in VB.net (Visual Studio 2010) which is bound
I have a DataGridView and a BindingSource bs populated using bs.DataSource = list; where
I have a DataGridView with its datasource set to a generic list of custom

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.