C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Gridview


Posted Date: 28 Apr 2008      Total Responses: 2

Posted By: Johnson joseph       Member Level: Gold     Points: 1


Hi,
How can i give headings to each field of a gridview without using wizard.
Thnx




Responses

Author: Vivs    28 Apr 2008Member Level: GoldRating:     Points: 2
Hi
Johson
If u don't want to use wizard then in source u write code.


Author: parthaaa    28 Apr 2008Member Level: SilverRating:     Points: 2
<asp:TemplateField HeaderText="Column Name" SortExpression="ColumnName">
<ItemStyle Width="10%">
<ItemTemplate>
<asp:Label id="lblColumn1" text='<%"#DataBinder.Eval (Container,"DataItem.ColunName")%>'
</ItemTemplate>
</asp:Template>

You can use this if you are binding the columns manually.


Post Reply
You must Sign In to post a response.
Next : MasterPages
Previous : MasterPages
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use