How do i: Change the header text in a datagrid that is databound?

  • Thread starter Thread starter John Blair
  • Start date Start date
J

John Blair

Hi,

I have tried aliasing columns in the SELECT statement - they get ignored.
I have tried accessing the .columns(0).headertext - but as the grid is
databound that column collection does not exist.

Any help appreciated. Thanks.
 
The only way is to handle ItemCreated event. Then you can catch headers as
they get created and change the text.

Eliyahu
 
Thanks again!

Eliyahu Goldin said:
The only way is to handle ItemCreated event. Then you can catch headers as
they get created and change the text.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top