Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a DataGrid. I would like to set the Headers orientation= 45. How to set cell orientation. Help me through asp.net Code.
Posted

Hi,

find the msdn link http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx[^]

Are you use template fields?

C#
<columns> 
        <asp:templatefield xmlns:asp="#unknown">
             <headertemplate></headertemplate>
         </asp:templatefield> </columns>
 
Share this answer
 
v2
Comments
Anuja Pawar Indore 30-Jan-12 2:20am    
Added pre tag
you mean to say header text will show rotate as 45'
then you need css to add it to header cell
 
Share this answer
 

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