摘要:
因为毕业设计的需要 所以研究了一下水晶报表。前面报表设计什么的都很顺利 但到了调用水晶报表的时候 每次都要输入数据库密码。这很坑爹!于是网上找了些资料,发现解决方法还是很多的。不废话,直接贴代码。方法一;private void crystalReportViewer1_Load(object sender, EventArgs e) { //方法一; ReportDocument rd = new ReportDocument(); string rdPath = Application.StartupPath ... 阅读全文