CyManager/BaoBiaoQT.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using DA;
using System.Data.SqlClient;
using BLL;
namespace CyManager
{
public partial class BaoBiaoQT : Form
{
string zdid;
public BaoBiaoQT()
{
InitializeComponent();
}
public BaoBiaoQT(string zd)
{
InitializeComponent();
zdid = zd;
}
private void BaoBiaoQT_Load(object sender, EventArgs e)
{
// zdid = "ZD200811174";
DataSet ds = BLLOpenBills.BLLOpenBillsFrontBillListbb(zdid);
string reportPath = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0,
Application.StartupPath.LastIndexOf("\\")).LastIndexOf("\\"));
reportPath += @"\CrystalReport3.rpt";
ReportDocument doc = new ReportDocument();
doc.Load(reportPath);
doc.SetDataSource(ds.Tables[0]);
this.crystalReportViewer1.ReportSource = doc;
// cc.Load(Application.StartupPath + "CrystalReport1.rpt");
// cc.SetDataSource(ds.Tables[0]);
// crystalReportViewer1.ReportSource = cc;
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。