Hi All;
I am using the datagridview to display information from a database table.
I use the following code to set the header and then set the column size...
In the grid column I seeCode:DataGridView1.Columns("ORDER_NBR").HeaderCell.Value = "Order Number" DataGridView1.AutoResizeColumns(DataGridViewAutoSizeColumnMode.AllCells)
Order
Number
instead of
Order Number
Does anyone know why this is happening?
Thanks
Lin




Reply With Quote