DataGrid Column Headers

  • Thread starter Thread starter Ahmet AKGUN
  • Start date Start date
A

Ahmet AKGUN

Hi All;

I have one datagrid control on which o show some of my database tables.
My trouble is that my column names on my table are not so good for customers
to understand.
So I must use more understandable names on my datagrids column headers
instead of column names.
Is there a way of changing column header names of one datagrid and showing
good expalanations there ?

For example in my country table, I have CntId,CntName and on datagrid I
would like to show
Country Id and Country Name

Helps'll be appreciated..
Ahmet
 
There's two way to do this.

1st :
By SQL SELECT CntId as [Country Id ],CntName as [Country Name] FROM ...
WHERE...

2nd create a TableStyle
 
thanks..

mario said:
There's two way to do this.

1st :
By SQL SELECT CntId as [Country Id ],CntName as [Country Name] FROM ...
WHERE...

2nd create a TableStyle


Ahmet AKGUN said:
Hi All;

I have one datagrid control on which o show some of my database tables.
My trouble is that my column names on my table are not so good for customers
to understand.
So I must use more understandable names on my datagrids column headers
instead of column names.
Is there a way of changing column header names of one datagrid and showing
good expalanations there ?

For example in my country table, I have CntId,CntName and on datagrid I
would like to show
Country Id and Country Name

Helps'll be appreciated..
Ahmet
 
Back
Top