Hello every one
I need your help .. please
To create my datatable column I use this code for the column names and the titles of these columns headers
To adjust the width of these columns I add this code below
How to make for add column Width to this line .. so that they will be in the same line :
Thank you in advance for help
I need your help .. please
To create my datatable column I use this code for the column names and the titles of these columns headers
Code:
Dim DT As New DataTable
DT.Columns.Add(New DataColumn With {.ColumnName = "Product_Name", .Caption = "Product"})
DataGridView1.DataSource = DT
Code:
DataGridView1.Columns(0).Width = 40
Code:
DT.Columns.Add(New DataColumn With {.ColumnName = "Product_Name", .Caption = "Product"})