public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            studentShowGrades rpt = new studentShowGrades();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void studShowGradesMain_Load(object sender, EventArgs e)
        {
            studentShowGrades cr = new studentShowGrades();

            // MessageBox.Show(login.id.ToString());
            cr.SetParameterValue(0, login.id);
            crystalReportViewer1.ReportSource = cr;
        }