Click here to Skip to main content
15,888,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to set the gridview row height in asp.net


Please share your information
Posted
Updated 29-Aug-13 19:54pm
v2
Comments
Have you tried anything yet?
krish2013 30-Aug-13 6:45am    
Hi tadit dash,
I tried all set property of gridview height,in rowstyle set height property and using css to set height of gridview but all are not working please give me any alternative suggition

this is not a nice question to ask always

search first then ask height of gridview

check out this link

Height of gridview click here[^]

regards...:)
 
Share this answer
 
Use Height property of the GridView something like below.
XML
<asp:GridView ID="gr1" runat="server" Height="150px"></asp:GridView>
 
Share this answer
 
v3
Hi Please check the properties of gridview in
that u you can set your gridview height.
You can also use CSS For your gridview




Happy coding
 
Share this answer
 
v2
Comments
krish2013 30-Aug-13 1:54am    
Hi Priyanka,
I set gridview height property but it's not working.Please give any alternative information.

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