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


Top 5 Contributors of the Month
david stephan

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

Gridview

Posted By: R@j     Posted Date: May 28, 2009    Points:2   Category :ASP.Net
Hi Everyone,
Plz help in solving my problem. I want to design a grid in which columns must be displayed dynamically according to the requirement.
EX: If we select a school say School1 from dropdownlist,then I want to display my grid like

Names Sub1 Sub2 Sub3
xxx 10 23 23
www 34 23 12

And If we select another school say school2 from dropdown then I want my grid like

Names Sub1 Sub2 Sub3 Sub4 Sub5
xxx 10 23 23 53 24
www 34 23 12 25 32

All this has to happen dynamically.
Can anyone plz help me.

Thanks in Advance

Responses
Author: Praveen             
Posted Date: May 28, 2009     Points: 5   

Is data that you are going to show is coming from database? Id yes than based on the column will append dynamically.just set "autogeneratecolumn" = true.



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
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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