954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

VB 2008

I need a help on VB 2008. How can make a button enable or visible when only the datagridview's only 1 check box is checked?

dibakarmishra
Newbie Poster
9 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

inside your checkbox_CheckChanged method do this:

if(checkBox.checked) {
  button1.enable = true;
  or button1.visible = true;
} else {
  button1.enable = false;
  or button1.visible = false;
}


Thats c# code anyway. You get the idea

hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 167
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: