Click here to Skip to main content
16,021,115 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using Visual Studio 2010 C# and working on a windows application.
I don't have many rows in my Datagrid but there are many columns. Is it possible to split long single row into two rows. I don't want to use horizontal scroll bar?
Thanks in advance.
Posted
Updated 10-Jul-12 20:55pm
v2
Comments
Vani Kulkarni 11-Jul-12 4:28am    
Do you mean to split the data present in the row?
MohammadTamis 11-Jul-12 4:35am    
I mean split one row into 2 rows. In grid the second row be under the first row but both of them recognize as one row.
I just want it to display into 2 rows. not any changes to data, cells and others.
Could I explain clearly?

1 solution

Have a look at below discussion in ASP.Net forums, see if it helps you:

DataGridView Control: Splitting a row of records into 2 rows[^]
 
Share this answer
 
Comments
MohammadTamis 11-Jul-12 4:40am    
I have read it before but it is about asp.net and my question is about windows application in c# and there are differences between them.
Thanks.

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