PivotTable in C#

T

Tony Hong

Hi,

I am working on a project which connect PivotTable to OLAP
data source and display the PivotTable on aspx. The
language I use is C#. Most of sample code I find on the
web is written in vb.net. To define PivotTable component
class in vb.net the code is:
Dim objPTView As PivotView
Dim fsTime As PivotFieldSet
Dim fsHalfYear As PivotField

in C#, I try to use the code like:
OWC10.PivotFieldSet pFSet = new //(PivotFieldSet)
OWC10.PivotView pView = new //(PivotView )
but PivotFieldSet or PivotView not coming up. I have added
reference OWC10 and have using OWC10 namespace. Can
someone tell me how to define PivotFieldSet, PivotVeiw in
C#.

Thanks in advance
Tony Hong
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top