c#水晶报表连接mysql,如何将数据库绑定到水晶报表?
i have C# program, i have DataSet that i want to bind to crystal report.
how to do it ?
解決方案
Create a Typed DataSet from the "Add New Item > DataSet and give the dataset
a useful name.
In Server Explorer, drag a view with the fields you want in the report onto
the dataSet.
Create a new Crystal Report using the Wizard.
From the Report Gallery, choose "Standard" and click 'OK'
In the 'Data' tab, click the node for "More Data Sources"
Click the node for ADO .Net (XML)
Check the box for 'Use Visual Studio Data Class'
In the 'Visual Studio Data Class name' combobox, select the name of the
dataset you just created.
click 'Finish'
Choose the table displaying under the name of the dataset you just added to
the 'Data' tab and click 'Insert Table'
Format your report.
總結
以上是生活随笔為你收集整理的c#水晶报表连接mysql,如何将数据库绑定到水晶报表?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 微型计算机和接口技术考题,微型计算机接口
- 下一篇: cadence自动生成铺铜_干货 | 国