Ashok

Ashok

  • NA
  • 6
  • 9.9k

multiline option for a cell in datagridview

Dec 20 2011 2:27 AM
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

Answers (1)