Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crythongkediemall rpt = new crythongkediemall();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void phansachtheoSLM()
        {
            Connection cn = new Connection();

            cn.OpenConn();
            string sqlht = "SELECT DISTINCT SINHVIEN.MSSV,HOTEN,MONHOC.MAMH,SOTC,DIEMCC,DIEMGK,DIEMCK,DIEMHE10,DIEMHE4,DIEMCHU,LANHOC FROM HOC,SINHVIEN,MONHOC where MONHOC.MAMH = 'TH0001'  ";
            //string sqlht = "select * from sach oder by solanmuon asc";
            SqlDataAdapter    da  = new SqlDataAdapter(sqlht, cn.con);
            crythongkediemall rpt = new crythongkediemall();

            crystalReportViewer1.ReportSource = rpt;
            cn.CloseConn();
        }