using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Runtime.InteropServices;
using Excel = Microsoft.Office.Interop.Excel;
namespace 报表示例
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
/// <summary>
/// 生成图表
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btnCreateChart_Click(object sender, EventArgs e)
{
Excel.Application xlApp;
Excel.Workbook xlBook;
Excel.W
用c#在excel中插入图表
最新推荐文章于 2024-04-23 17:13:16 发布