Hello All
I am now into my third day of vb.net programming and I have a question.
Does anyone know how to specify the width of the individual colums in a datagrid?
It is really driving me nuts!!!!
Any help would be greatly appreciated.
Cheers
Steve
Printable View
Hello All
I am now into my third day of vb.net programming and I have a question.
Does anyone know how to specify the width of the individual colums in a datagrid?
It is really driving me nuts!!!!
Any help would be greatly appreciated.
Cheers
Steve
dim dgTxtTextbox as new datagridTextboxColumn
dim dgTablestyle as new datagridtableStyle
with dgTxtTextbox
.MappingName="Name"
.width=100
End With
dgTablestyle .gridColumnStyle.add(dgTxtTextbox)
dgDatagrid.tableStyle.add(dgTablestyle)