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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top