ASP.net SQL and pivot tables

Hi

I need to pivot data on my ASP.net web page pulled in via a VB.net data
bind to a cloud SQL database.
I just need a little advice on the best way to go about this.
My SQL query is in VB.net and not inside the SQL database
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
YZlatCommented:
so where is the data stored? From which source will you be getting the data?

If it is stored in one of the .NET structures such as DataSet, you might not be able to pivot it
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
The data is stored in a cloud SQL database. I use the  SQLClient with connectin strings to query this
0
 
YZlatCommented:
What exactly you need? Do you want to re-write the SQL query?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
I wanted any example in VB.net of pivoting data coming from SQL
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Hi YZLat. I have the data in a dataset, which comes from SQL. Is it possible to pivot a dataset?
0
 
CodeCruiserCommented:
Example here is in C# but should give you an idea of how pivoting is done on a datatable

http://www.codeproject.com/Articles/46486/Pivoting-DataTable-Simplified
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.