hi,
how can i change single cell text color in my datagridview by using button i try datagridculomnselectionmode and other options for the now i can only change the all cell. pls tell me what i can do guys.

Recommended Answers

All 2 Replies

this.DataGridView.Rows["ROWSNAME"].Cells["CELL"].Style.ForeColor=COLOR.BLACK

TRY IT

Thank u it is working.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.