1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > c#水晶报表连接mysql 如何将数据库绑定到水晶报表?

c#水晶报表连接mysql 如何将数据库绑定到水晶报表?

时间:2021-05-18 17:36:10

相关推荐

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.

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。