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

restricting columns in datagridview

$
0
0

Hello.  Just a question regarding the datagridview (c#/winforms).  I have a form with datagridview on it that is populated from a sql server view.  When the info is loaded into the datagridview froma datatable, all the fields show.  Don't want that.  All is done programatically with the datagridview since it serves several uses.  Is the only / best way to limit the number of columns in the datagridview is using the columns[].visible?

Thanks...John


Viewing all articles
Browse latest Browse all 12583

Trending Articles



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