如何在Windows应用程序中的某些条件下禁用DataGridViewButtonColumn [英] How to disable DataGridViewButtonColumn on certain condition in windows application

查看:73
本文介绍了如何在Windows应用程序中的某些条件下禁用DataGridViewButtonColumn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,



我在windows应用程序上工作。在datagridview中我添加了编辑和删除按钮列。在某些情况下我想要禁用这两个按钮.i已经试过了,但它没有用。

任何budy都可以对它有任何想法吗?请回复



谢谢®arde

Hussain。

Hello Friends,

I m working on windows application.in a datagridview i have added edit & delete button column.on certain contion i want to disable both button.i have tried from my end but its not working.
can any budy have any idea about it? please reply

Thanks & regarde
Hussain.

推荐答案





看看这里:

如何:在Windows窗体DataGridView控件中禁用按钮列中的按钮 [ ^ ]


这篇关于如何在Windows应用程序中的某些条件下禁用DataGridViewButtonColumn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆