Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Using asp.net vb.net
I have a dynamic pivot table return from a stored procedure. The dynamic pivot data could grow to more columns. I don't want to hard code, but rather any columns that I don't know, I would like a button created.
thanks,
mike
Posted
Comments
pankajupadhyay29 3-Mar-11 23:24pm    
could you please explain a bit what you mean by button created.
Monjurul Habib 4-Mar-11 2:05am    
did you try anything? share your code.

So, what about a Grid with AutoGenerateColumns set as true?

If this does not resolve it, whats the issue with creating the columns at runtime based on the columns/data returned from SP? Did you try it?

In case needed, this should help you out: DataGrid Column Types & Dynamically Adding Columns[^]

If not, please try!
 
Share this answer
 
v2
Hope this[^] also might help you added to Sandeep's Answer.
 
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