Задайте вопросЗадайте вопрос
 

ОтвеченоDataGridView automatically adding columns I don't want !!?!

  • 4 мая 2007 г. 15:11JBalcerzak Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     

    Hello -

     

    I'm sure this is something simple, but I've got a databound DataGridView where I have several columns from the data source and some unbound columns like buttons and so forth.  The problem is that every time I go to make simple changes through the column editor, I see that VS 2005 has added ALL the columns from the datasource to the grid - even columns that I already had in there.  While its not a problem to remove the additional columns, I'd sure like to know if there was a way to prevent VS 2005 from doing this seemingly every time.

     

    Thanks,

     

    Jeff Balcerzak

Ответы

Все ответы