I set DataGrid1 column width as follows, but it doesn't effect when i run my program.

DataGrid1.Columns(0).Width = 3030.236
    DataGrid1.Columns(1).Width = 1604.976
    DataGrid1.Columns(2).Width = 1904.882
    DataGrid1.Columns(3).Width = 1065.26



I was refreshing the datagrid before i set those column values.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.