Set the grids AutoGenerateFields property to False

IMHO this should have been the default, but ho hum

Merak

> I'm trying to design a grid on an ASP.Net page in the VS.Net IDE.
>
> I dragged a grid to the page and edited the columns. Now I
> have this: http://www.codewrights.com/aspgrid.gif
>
> (if you're using IE6 make sure to "blow up" the image to full size)
>
> Note the three columns at the right - "Column 0," "Column 1,"
> and "Column 2"
>
> They don't appear in the columns collection or the HTML.
>
> How do I get rid of them?

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to