Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i use this below code snippt to visulize the data in datagridview but the problem is data is to much in every column thats why my application datagridview's width have increased too much. my question is how can i make multi line my data in every single row

C#
dgvhadiths.AutoResizeColumns();
            dgvhadiths.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
Posted
Comments
BulletVictim 23-Dec-13 7:58am    
Try taking a look here:
http://stackoverflow.com/questions/1706454/c-multiline-text-in-datagridview-control

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