C# Datagrid font

P

PH

In a web-based datagrid I am returning a list of numbers. This list is
based on a search query I run. What I want to do is the following:

search string is "001"

datagrid will show query results of anything having a 001 in it;

900125
763001
001876
765001

Is there a way to change the font of JUST the 001 part of the string
in the datagrid cell? so in the above example 763 will be black and
001 will be red. Thanks.

PT
 
K

Ken Tucker [MVP]

Hi,

You would have to create your own datagrid textbox column and write
your own code for the paint event.

Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top