Display charts based on owc controls (both winform and webform are supported)

Source: Internet
Author: User

When it comes to chart controls, I am afraid there will be no Microsoft in the name of the control vendor. In fact, Microsoft provides a control and supports both winform and webform, only with the advent of other Microsoft products, this control is no longer developed, and this control is owc, which was initially installed in office2003.ProgramBut Office 2007 does not have it any more, but it is strange that this option exists when I installed sqlserver2005 a few days ago. Is it merged into the reportservice product ?!

Owc control path: \ Program Files \ Microsoft Visual Studio 9.0 \ Visual Studio Tools for office \ Pia \ office11

Owc control help file path: C: \ Program Files \ common files \ microsoft shared \ Web Components \ 11 \ 2052

Here, I encapsulate it into a DLL file and some methods, which can be called by webform and winform at the same time.Code-1

Figure-1

The code to be implemented can be commented out in the provided sample file.

 

Sample Code

Display. Files Based on owc Control Charts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.