how to change datagrid color in compact framework?

S

Sowen Zhang

I have a datagrid and I need to validate the saved data, if the data in the
datagrid is not valid, for instance, the row number 2 and column number 3 is
not valid because of some reason, I want to change that specific cell's
color.

Is it possible? It seems the DataGridTextBoxColumn in compact framework
doesn't have TextBox property.

I found a sample in here
http://www.codeproject.com/csharp/custom_datagridcolumnstyl.asp
but it doesn't work (maybe I've done sth wrong) and it's complex, I am
wondering is there any better (at least workable) method?

Thanks a lot!



--
Best Regards!
Hong.
---------------------------
Image Processing and Watermark components for .NET
http://www.ImageComponent.NET

Personal Entertainment Shareware and Freeware
http://www.angGoGo.com
 

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