如何使用Configuration Manager C#GUI创建Crystal报表 [英] How to create Crystal report with Configuration Manager C# GUI

查看:81
本文介绍了如何使用Configuration Manager C#GUI创建Crystal报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想创建水晶报告,我想通过配置管理器与sql连接。请帮助一步一步采购如何做到这一点



谢谢

Hi
I want to create crystal report and I want to connect that with sql through configuration manager. please help step by step procured how to do this

thanks

推荐答案

使用此链接

http://www.c-sharpcorner。 com / UploadFile / 0146e3 / crystal-report-in-visual-studio-2010 / [ ^ ]

将此代码用于databaselogon

use this link
http://www.c-sharpcorner.com/UploadFile/0146e3/crystal-report-in-visual-studio-2010/[^]
use this code for databaselogon
ReportDocument report = new ReportDocument();
report.SetDatabaseLogon((string)reader.GetValue("DatabaseUserName", typeof(string)), (string)reader.GetValue("DatabasePassword", typeof(string)), (string)reader.GetValue("ServerName", typeof(string)), (string)reader.GetValue("DatabaseName", typeof(string)), true);


使用C#在ASP.NET中访问Crystal Report [ ^ ]


这篇关于如何使用Configuration Manager C#GUI创建Crystal报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆