Hi,

I am newbie with regards to VB so please be gentle....

I am reading in a text file that I split into four fields using string slicing. I am creating a DataTable in code, and populating it with the data from the text file, and then creating a DataSet in code and adding the DataTable to the DataSet, and then binding these to a DataGrid that I have placed on my form at design time.

It all works wonderfully well, and is as fast as I could ever have wished for. However, I would like to be able to control the individual column widths in the DataGrid, and I can't see a way to do it as the "Preferred Width" Property applies to every column. My fields are something like this:

DAY.........DATE............TIME...........EVENT
Wed........01.07.2004.....10.04.09......The Blackbird Flies South

So I would like to be able to individually control the column widths.

Thanks.