CyManager/BaoBiao.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using 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 BaoBiao : Form
    {
        string zdid;
        public BaoBiao()
        {
            InitializeComponent();
        }
        public BaoBiao(string zd)
        {
            InitializeComponent();
            zdid = zd;
        }
        //private void BaoBiao_Load(object sender, EventArgs e)
        //{
        //    //  zdid = "ZD200811174";

        //    DataSet ds = BLLOpenBills.BLLOpenBillsRoomsBillListbb(zdid);
        //    DataTable bbbb = ds.Tables[0];
        //    string reportPath = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0,
        //     Application.StartupPath.LastIndexOf("\\")).LastIndexOf("\\"));
        //    reportPath += @"\CrystalReport2.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;



        //}


        private void BaoBiao_Load(object sender, EventArgs e)
        {
            //  zdid = "ZD200811174";

            DataSet ds = BLLOpenBills.BLLOpenBillsRoomsBillListbb(zdid);
            DataTable bbbb = ds.Tables[0];
            string reportPath = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0,
后面还有 12 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。