• 大小: 1017KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-26
  • 语言: C#
  • 标签:

资源简介

C1report子报表C#实现,让你能够做更复杂的报表

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using C1.Win.C1Report;

namespace WindowsApplication2
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            //string sql = ““;
            //DataSet ds = new DataSet();
            //c1Report1.Load(Application.StartupPath + “//test.xml“ “New Report“);
            //Field srField = c1Report1.Fields[“Field2“];
            //sql = “select * from TECH_BRAND where BRAND_ID=‘3‘“;
            //SQLClientTrans db = new SQLClientTrans();
            //db.Open();
            //db.ExeSqlFillTab(sql ref ds);
            //db.Close();
            
            ////c1Report1.DataSource.Recordset  = ds.Tables[0];
            //srField.Subreport.DataSource.Recordset = ds.Tables[0];
            //this.c1Report1.Render();
            //c1PrintPreview1.Document = c1Report1.Document;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    1245184  2005-12-12 10:25  子报表\WindowsApplication2\bin\Debug\C1.C1PrintDocument.Classic.2.dll

     文件     768773  2005-12-12 10:25  子报表\WindowsApplication2\bin\Debug\C1.C1PrintDocument.Classic.2.xml

     文件     585728  2005-12-12 10:25  子报表\WindowsApplication2\bin\Debug\C1.Win.C1PrintPreview.Classic.2.dll

     文件      42170  2005-12-12 10:25  子报表\WindowsApplication2\bin\Debug\C1.Win.C1PrintPreview.Classic.2.xml

     文件     606208  2005-12-15 15:25  子报表\WindowsApplication2\bin\Debug\C1.Win.C1Report.2.dll

     文件     527869  2005-12-15 15:23  子报表\WindowsApplication2\bin\Debug\C1.Win.C1Report.2.xml

     文件      19436  2009-12-09 17:12  子报表\WindowsApplication2\bin\Debug\test.xml

     文件      32768  2009-12-09 17:46  子报表\WindowsApplication2\bin\Debug\WindowsApplication2.exe

     文件      42496  2009-12-09 17:46  子报表\WindowsApplication2\bin\Debug\WindowsApplication2.pdb

     文件       5632  2005-12-08 14:51  子报表\WindowsApplication2\bin\Debug\WindowsApplication2.vshost.exe

     文件       1150  2009-12-09 17:46  子报表\WindowsApplication2\Form1.cs

     文件      31939  2009-12-07 17:09  子报表\WindowsApplication2\Form1.Designer.cs

     文件       7222  2009-12-07 17:09  子报表\WindowsApplication2\Form1.resx

     文件      19481  2009-12-07 17:08  子报表\WindowsApplication2\obj\Debug\ResolveAssemblyReference.cache

     文件        842  2009-12-07 17:09  子报表\WindowsApplication2\obj\Debug\WindowsApplication2.csproj.GenerateResource.Cache

     文件      32768  2009-12-09 17:46  子报表\WindowsApplication2\obj\Debug\WindowsApplication2.exe

     文件        636  2009-12-07 17:09  子报表\WindowsApplication2\obj\Debug\windowsapplication2.exe.licenses

     文件       1005  2009-12-07 17:09  子报表\WindowsApplication2\obj\Debug\WindowsApplication2.Form1.resources

     文件      42496  2009-12-09 17:46  子报表\WindowsApplication2\obj\Debug\WindowsApplication2.pdb

     文件        180  2009-12-07 16:51  子报表\WindowsApplication2\obj\Debug\WindowsApplication2.Properties.Resources.resources

     文件        644  2009-12-09 17:46  子报表\WindowsApplication2\obj\WindowsApplication2.csproj.FileList.txt

     文件        478  2009-12-07 16:49  子报表\WindowsApplication2\Program.cs

     文件       1192  2009-12-07 16:49  子报表\WindowsApplication2\Properties\AssemblyInfo.cs

     文件        262  2009-12-07 17:09  子报表\WindowsApplication2\Properties\licenses.licx

     文件       2892  2009-12-07 16:49  子报表\WindowsApplication2\Properties\Resources.Designer.cs

     文件       5612  2009-12-07 16:49  子报表\WindowsApplication2\Properties\Resources.resx

     文件       1102  2009-12-07 16:49  子报表\WindowsApplication2\Properties\Settings.Designer.cs

     文件        249  2009-12-07 16:49  子报表\WindowsApplication2\Properties\Settings.settings

     文件       6905  2009-12-09 16:27  子报表\WindowsApplication2\SQLClientTrans.cs

     文件       6900  2009-12-07 16:54  子报表\WindowsApplication2\SQLClientTrans.cs.bak

............此处省略15个文件信息

评论

共有 条评论

相关资源