Thanks for your reply
I need to bind datset to datagrid dynamically , so grid column name as well,
so I do not want to you the propertie builder from the IDE.
I rather prefer to code it
If I do that, is there a particular event that I can play with which occurs
just before the grid gets dispay and allows me to change column text and
datbound filed ?
thnaks
"jo********@gmail.com" wrote:
You can go into the DataGrid's Property Builder (right-click on
DataGrid -> Property Builder) and accomplish this. Under the Columns
section, uncheck "Create columns automatically at run time" and then
add each Bound Column, if they are not already there. Under each Bound
Column's properties, you can change the HeaderText property to whatever
you want. Just make sure to leave the DataField property to the field
name in the database.