.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Dynamic header for bound controls

Posted By: Naresh     Posted Date: October 04, 2010    Points:2   Category :ASP.Net
Hi All,

How to display headers dynamically for bound control.

I want to display header in each row also.Column headers are dates and Row header are static

I want to diplay data like this.headcount and dates are header and Forecasted HC as Row header.dates are dynamic

Headcount 8/1/2010 8/8/2010 8/15/2010 8/22/2010
Forecasted 456 444 442 445


Author: Deco             
Posted Date: October 04, 2010     Points: 5   

what you can do is,

create a Query to retrive the result dynamically

and you can bind the result to the GridView

and you would get the Header dynamically based on the

result set.


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend