You mean you are using autogenerated columns. The only way to change header
columns is to handle ItemCreated event. You can detect header item, get
access to the cells and change their text and width.
Eliyahu
[quoted text, click to view] "Herry" <anonymous@discussions.microsoft.com> wrote in message
news:54b201c523ad$b4cac870$a601280a@phx.gbl...
> Hi all,
> I have problem with datagrid in asp.net using vb as the
> language. This is how I show the datagrid from database
>
> datagrid1.datasource = dataset1
> datagrid1.DataBind()
>
> Is there any possibility to change the header on every
> column and how to set the column width
>
> Thanks