How to change column width in DataGridView?
问题 I have created a database and table using Visual Studio's SQL Server Compact 3.5 with a dataset as my datasource. On my WinForm I have a DataGridView with 3 columns. However, I have been unable to figure out how to get the columns to take up the full width of the DataGridView which is shown in the image below. I want to make the abbreviates column wider and then have the description column extend all the way over to the edge of the form. Any suggestions? Update: using System; using System