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 lot. But none of them really helped me.
I am using DATAGRID. NOT a gridview.
Thanks all.
将数据模板与数据触发器一起使用。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.