In the ItemCreated event for the datagrid, check for e.ItemType
If e.ItemType = ListItemType.Header, then simply do this:
e.Item.Cells(0) = "Id"
e.Item.Cells(1) = "Name"
e.Item.Cells(2) = "Cigarettes Per Day"
HTH
S.M. Altaf
[MVP - VB]
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"Franck" <fh@fh.com> wrote in message
news:di**********@s1.news.oleane.net...
hello,
I'm trying to add a tooltip at the datagrid header but
I don't know where to start?
I tought about a template column
but i only wish to have the tooltip on the header?
any help?
thank you