Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Hiding all rows and columns of datagridview in c#

$
0
0

Hello All,

Issue - To hide all the rows and columns of the datagirdview in a quick way

Developing platform - C#

Issue description - 

  • There are 100 rows and 50 columns in the datagridview.
  • I want to hide all the rows and columns in a quick way.
  • I don't want to loop through all the rows and columns to make the visibility set to false.
  • I have tried with the datagridview.Visible = false, but this does not make all the rows and columns visibility to false.

Can anyone post the way to hide the rows and columns in datagridview without looping.

Regards,

Ketan


Viewing all articles
Browse latest Browse all 12583

Trending Articles



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