datagrid header

  • Thread starter Thread starter ordon
  • Start date Start date
O

ordon

Hi

How show 2 lines text (column name) in datagrid
| col name |
| col name |
+---------+
| row 1 |
| row 2 |

Thanks
 
Hi,

If you mean WinForms datagrid, your only option is overriding the Paint
method and providing your own code for painting column headers.
For the WebForm one, just use the <BR> tag between the lines of text.
 
Back
Top