Professional Documents
Culture Documents
1 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
.NET Question
Formatting link column datagridview
not working?
Asked by: arcross on 11-19-2009
Solved by: jpaulino
Hello,
ive got a datagridview (dgv) and one of its columns is a
LinkColumn. What im doing is changing the color of the text, for
that column, when certain conditions apply. But the forecolor
Veri ed Solution
jpaulino 2009-11-19 at 12:34:02 ID: 25864617
12/4/2014 3:06 PM
2 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
Try It Free
Join Today
Login
Expert Comment
CodeCruiser 2009-11-19 at 08:52:32 ID: 25862266
12/4/2014 3:06 PM
3 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
Join Today
Login
Expert Comment
CodeCruiser 2009-11-19 at 09:06:29 ID: 25862465
Veri ed Solution
jpaulino 2009-11-19 at 12:34:02 ID: 25864617
12/4/2014 3:06 PM
4 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
Join Today
Login
Expert Comment
trideep 2009-11-19 at 22:33:50 ID: 25868002
12/4/2014 3:06 PM
5 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
2:
3:
4:
5:
6:
7:
8:
9:
Join Today
Login
If Me.DataGridView1.Columns(e.ColumnIndex).Name =
If Me.DataGridView1.Item("Id", e.RowIndex).Val
Dim lnk As DataGridViewLinkCell = CType(Me
lnk.LinkColor = Color.Green
MsgBox(Me.DataGridView1.Item(1, e.RowIndex
End If
End If
End Sub
Expert Comment
jpaulino 2009-11-19 at 23:32:15 ID: 25868174
Expert Comment
roma2208 2009-11-19 at 23:35:23 ID: 25868184
12/4/2014 3:06 PM
6 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
Join Today
Login
Expert Comment
jpaulino 2009-11-19 at 23:40:38 ID: 25868209
Expert Comment
roma2208 2009-11-19 at 23:44:17 ID: 25868221
Expert Comment
jpaulino 2009-11-19 at 23:48:33 ID: 25868240
12/4/2014 3:06 PM
7 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
Join Today
Login
Thanks everyone!
12/4/2014 3:06 PM
8 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
1.
Join Today
Login
2.
3.
4.
5.
6.
7.
8.
12/4/2014 3:06 PM
9 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
several
Join Today
Login
14.
15.
201410-LO-Qu-022
column records of
datagridview to mm:ss format
in VB.NET ?
2. DataGridView Number format
Template Column
4. DataGridView - unable to
column
6. Datagridview column running
12/4/2014 3:06 PM
10 of 10
http://www.experts-exchange.com/Programming/Languages/.NET/Q_249...
Solve your
tech
How
Itproblems
Works faster
1-877-211-8911
Mon-Fri> Programming
5AM-8PM
PST
> Prog Languages
Experts Exchange
How It works
Join Today
Login
For Business
Plans and
Learn
Pricing
Resource
Network
Access millions of veri ed solutions and get
Library
1-on-1 help from the experts.
freeContact
30 Day
trial.
The Experts
Blog
Us
Careers
Mobile Site
12/4/2014 3:06 PM