Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Not allow check in datagridviewcheckboxcolumn

$
0
0
I have a datagridview with all of a certain customers open invoices. There is a checkbox column that shows if we are applying money to this invoice or not. Sometimes the user will try to check off an invoice, but I don't want to allow that invoice to be checked off because there is not enough money to apply to that invoice. How would I be able to do that? I don't want it to check and then to have to uncheck it. If possible, I want to just be able to before it even checks to say if it can't be checked return; exit the subroutine. I just don't know which event handler I can do it in.

Debra has a question


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>