C# Datagridview resize programmatically
<p>I have a datagridview that is populated and added to the winform programmatically.</p>

<p>The number of columns within the gridview can vary greatly, so I want to change the size of the actual Gridview width to fit the number of columns.</p>

<p>Could anybody suggest how to do this?</p>

<p>Thanks.</p>
