在c#如何引用CrystalReport,在线等待
相关推荐
c# CrystalReport 水晶报表 最简单的显示
c# CrystalReport 水晶报表 最简单的显示 c# CrystalReport 水晶报表 最简单的显示
C# 动态绑定水晶报表CrystalReport实例
C# 动态绑定CrystalReport水晶报表实例源代码,先加载数据库数据,显示所有学生信息,按学生编号查询学生信息,按回车键查询学生信息,绑定水晶报表,测试本程序,请先安装好所需的水晶报表控件CrystalReport。 运行环境:Visual Studio2010
CrystalReport水晶报表测试代码集锦
CrystalReport水晶报表测试代码集锦,非常全的代码。
CrystalReport1.rpt ,DataSet.xsd,crystalReportViewer1水晶报表,以及向文本框对象传值 C# .NET FRAMEWORK 源代码 决定对您有用
OleDbConnection Con = null; string strCon = null; OleDbCommand Cmd = null; strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Documents and Settings\\Administrator\\桌面\\江大软件\\28.mdb"; Con = new OleDbConnection(strCon);//建立连接 string strSql = "select * from BZData where GroupID='1214015'";//表名的写法也应注意不同,对应的excel表为sheet1,在这里要在其后加美元符号$,并用中括号 Cmd = new OleDbCommand(strSql, Con);//建立要执行的命令 OleDbDataReader read = null; DataSet ds = new DataSetshujuji(); try { Con.Open(); //从命令对象中读取数据 read = Cmd.ExecuteReader(); //有了ADO.NET,可把读取来的数据直接加载到数据集中 ds.Tables[0].Load(read); read.Close(); Con.Close(); //为查看器提供本地报表数据 CrystalReport1 cry = new CrystalReport1();((TextObject)cry.ReportDefinition.ReportObjects["Text12"]).Text = "sdsad"; //ParameterRangeValue cry.SetDataSource(ds); crystalReportViewer1.ReportSource = cry; } catch (Exception ex) { } } } }
动态CrystalReport报表汇总
动态CrystalReport报表汇总,有关怎样创建动态报表的方法


