I
I
ivan gi2016-06-09 06:22:01
C++ / C#
ivan gi, 2016-06-09 06:22:01

How to set the style of a specific cell in C# dataGridView?

All good times of the day. Help who can!!
I need to set the style of a particular cell. Change its color, font, make the cell border bold, or even one of the cell borders. Thank you very much in advance. Already scratched my head how to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mletov, 2016-06-09
@mletov

Question about ASP.NET WebForms, WinForms or WPF or what?
If according to WebForms, that is, there are onrowdatabound and onrowcreated events, you can refer to the cell style in them.
stackoverflow.com/questions/16105718/datagridview-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question