Home All Groups Group Topic Archive Search About

Add columns in Datagrid

Author
2 Jul 2006 7:18 PM
Familjen Karlsson
Hi

Thanks for your answer but I found a new problem. Yours example worked fine,
http://www.vb-tips.com/dbPages.aspx?ID=76a81eb8-ea2d-48f4-99c3-a3539697edbd,
but when I added columns with column styles I made myself and tried to
insert data to them, the columns disappeared. I used your example and tried
to add a column which has a combobox in it, but failed.

Thankfull for answer

Fia

Author
2 Jul 2006 8:17 PM
Cor Ligthert [MVP]
fia,

This should not be any problem, I was hoping that you would not look at the
mapping to hide a column.

But better is to show us *some* essential code where you add the column to
the table and set the datagridcolumns (especially the mappings because that
is what goes mostly wrong with the datagrid columns).

Cor

Show quoteHide quote
"Familjen Karlsson" <fiao***@telia.com> schreef in bericht
news:q_Upg.7292$E02.2036@newsb.telia.net...
> Hi
>
> Thanks for your answer but I found a new problem. Yours example worked
> fine,
> http://www.vb-tips.com/dbPages.aspx?ID=76a81eb8-ea2d-48f4-99c3-a3539697edbd,
> but when I added columns with column styles I made myself and tried to
> insert data to them, the columns disappeared. I used your example and
> tried
> to add a column which has a combobox in it, but failed.
>
> Thankfull for answer
>
> Fia
>
>