Hello all,
I am using a Datagridview control. and set its Dock Property to Fill..It resize acording to the Container panel. but the Column does not.. If anyone knows how to resize column with the DatagridView, Plz reply.
Autosize DataGridView and thier column to fill into the Container
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


chevroll bryan2 reputationPosted Jan 26, 2010, 9:10 AM EST
Lalit MRank #1,186 · 1.5K reputationPosted Jul 14, 2010, 9:06 PM EDT
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.columns.aspx
http://www.dreamincode.net/code/snippet1671.htm