datagridviewlinkcolumn

  • Thread starter Thread starter A.Kelly
  • Start date Start date
A

A.Kelly

Hello,
I am running into some problems with linklables displayed in a
datagridview. I've got the columns set to where it only displays a
name aka "celName", but also is assigned a variable that holds the
actual link.. ( celLink of course). In theory, everything outputs
fine, but the links aren't active. I've tried a click event for
DataGridView_CellContentClick but the contentclick sub only does the
last variable assigned to celLink.

I think that I've been working far too much on this problem and
thinking too deeply that my brain is just mush right now.. if someone
has a suggestion or might be able to point me in a general direction,
I'm sure I could catch it from there.

Thanks,
 
Hmm.. I've been noticing that there are a lot of posts having much the
same problem that I am, but they go unanswered. If it might help, I'll
try to elaborate on what my problem is.

Parsing a text file that takes strings of data and pulls out keywords
to insert into a datagrid view.

DataGridView1.Rows.Add(New String() {num, buyDate, buyer, itemName, _
Qty, individualPrice, total})

now itemName is a linkcolumn, but even if everything is displayed as a
link, and assigned a value (I'm assuming its assigned a value)
clicking on the link does nothing. each individual link per row is
different. How can I get it to open a web browser and go to the
desired link when clicked.
 
Back
Top