I am retrieving a table from SQL database and save it into a dataset.
After that I displayed that dataset on the form with DATAGRID.
I can show that.
Here comes my problem.
I have a column in the dataset.
Let's call it Status.
If the status is open, I want to change the font of that row and allow User to edit that row.
If not, User cannot edit it.
Anyone?
I have been searching a lo开发者_如何学Pythont. But none of them really helped me.
I am using DATAGRID. NOT a gridview.
Thanks all.
Use a datatemplate with datatriggers.
精彩评论