On the properties sheet of the datagrid, go to the TableStyles collection. There you will add a table style, give it a Mapping name. Add columns by adding to the GridColumnStyles collection. There are properties there to set the HeaderText and Width.
HTH,
Dave
>Can I use ASP code on a Windows Form in VB.NET. If so, where does the code go.
>Just by looking at the datagrids properties I don't see the autogeneratecolumns property. I guess from your example, I don't know where to start.