i am using datagridview to display n number of items from the database, if description of an item is too long then i've used datagridview1.autoresizecolumns() to view the entire description, due to this horizontal scroll bar appears and the next column cannot be viewed. instead of this i thought of using multiline for each cell if the length of the cell exceeds a particular length, so due to this horizontal scroll bar can be avoided and all columns can be viewed at a time.
How to achieve this. Please, help me in completing this task.
with thanks in advance,
Ashok
Multiline option for a cell in datagridview
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Pravin GhadgeRank #1,340 · 1.3K reputationPosted Dec 19, 2011, 9:37 PM EST
Use Wraptext option of datagridview column.