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 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply