Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

I have window application where I used grid to display description.

Now how can I make multi line textbox in datagridview ?So that description visible clearly.

Thank you
Seema
Posted

Just put a normal textbox and set it's multiline property[^].

For details of various textbox properties, look here[^].
 
Share this answer
 
The simplest way is to set the WrapMode property of the DefaultCellStyle.

This[^] page from MSDN has details and some other settings you might need.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900