示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Mariiage rpt = new Mariiage();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        //mariage
        public void mariage()
        {
            con.Open();
            SqlDataAdapter da = new SqlDataAdapter("select * from conge where N_conge='" + tnconge.Text + "'", con);
            DataSet        ds = new DataSet();

            da.Fill(ds, "conge");
            Mariiage m = new Mariiage();

            m.SetDataSource(ds);
            christal_report f = new christal_report(m);

            f.Show();
            con.Close();
        }