April 29, 2013 at 9:26 am
Hi,
Is there a way to hide or disable a datagridview completly? I have a few radio button options and would like to display different datagrids in the same location if possible.
I have tried the following but this does not work:
dataGridView1.Enabled = false;
April 29, 2013 at 9:27 am
i think you want DataGridView.Visible = false; enabled would be more like displaying, but removing editablity due to permissions or something.
visible is what you need to hide/show
Lowell
April 29, 2013 at 9:30 am
That is it! Thank you very much! =)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy