Hi
Im having a bit of trouble with the DataGrid control.
I have a Dataset that gets populated by the contents of an Access Database file.
I then bind the DataGrid control to the dataset so the contents are displayed.
Now im having trouble sizing the columns to fit the data that gets displayed there.
I would like the columns to automatically resize themselfs to fit the data correctly. Current im using
but this makes the columns much to big for small fields, primary key for exmaple.Code:.PreferredColumnWidth = 150




Reply With Quote