C# Windows Form DataGrid Hyperlink???
-
Is it just me or did Microsoft leave out a nice feature like allowing datagrid hyperlink columns for Windows Forms projects??? It's easy to do in ASP........ I've looked all over for someone who has succeeded to create a dataGrid.dataColumn hyperlink. I'm not using a database, just importing a firewall.txt file and sorting the IP's looking for duplicate access attempts. The idea is to simply click on the questionable IP and jump to arin.net for a quick look, however............ help......
-
Is it just me or did Microsoft leave out a nice feature like allowing datagrid hyperlink columns for Windows Forms projects??? It's easy to do in ASP........ I've looked all over for someone who has succeeded to create a dataGrid.dataColumn hyperlink. I'm not using a database, just importing a firewall.txt file and sorting the IP's looking for duplicate access attempts. The idea is to simply click on the questionable IP and jump to arin.net for a quick look, however............ help......
Actually, MS left out more than hyperlinks in their datagrids. What you can do, is derive a hyperlink column class from the DataGridTextBoxColumn and put a hyperlink control in it, override some events and voila, you have yourself a hyperlink column. Here's an example on how to create a combobox column[^]. Just substitute it with a hyperlink control.
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler.