Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello people need your help, I have a gridview and i want that the gridview have allways the same size, rows, even if it has fewer records than the number of rows, with this I wish that the gridview has the same size. Any help?
Posted

1 solution

Hi,

You're talking about an Asp.Net GridView right?

Take a look at this: http://forums.asp.net/t/1277793.aspx/1[^]

Hope it helps.
 
Share this answer
 
Comments
Paulo Jorge Arteiro Soares 6-Jul-12 12:05pm    
ty i'll view that link :)
Paulo Jorge Arteiro Soares 6-Jul-12 12:08pm    
well this isn't what i want :s i want to set my griview with 5 rows allways, if there isn't enough records, there should be 5 rows but instead of records it is blank, it doesnt have any thing write there, just like when you have a table and you put something in there and there is rows above that are not filled
_Zorro_ 6-Jul-12 12:22pm    
Then you will probably need to insert blank rows inside your datasource when you have less than x items inside. Or maybe this could help if you don't want to touch your datasource: http://forums.asp.net/t/1217361.aspx
Paulo Jorge Arteiro Soares 9-Jul-12 9:39am    
ty for your help

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