Grid Column header

I am not a professional programmer. I am a Deputy Sheriff trying to write applications to help us in the things we do, so my question may seem a bit remedial.

I need to be able to change column headers via a buttonclick event at runtime. I have tried all that I know to do, but not successful. what I need is the syntax to change column headers using a button.

You can do this via:

DBAdvGrid.Columns[index].Header: string

Tried it. Works Great! Thank you.