Link inside DataGridViewTextBoxColumn

  • 14 years ago

    Hi,
    How can I make some of the data inside a column in a datagridview a link?
    Something like this:

    ---------------------------------------

    |Column1 |Column2 |

    |Some data |Some data : Link |




  • 14 years ago
    You can't because it's not designed that way.  Either use a DataGridViewLinkColumn or, if that doesn't suit either then derive your own column type from one or the other.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Anyone who considers arithmetic methods of producing random digits is, of course, in a state of sin.” - John von Neumann