//---button click event for getting the student result summery--->
 private void BtnGetReslt_Click(object sender, EventArgs e)
 {   frm_result_det frm_result = new frm_result_det();
     DataSet rpt_dataset = populate_score();
     ReportDocument rpt = new crSTResult_Sum();
     rpt.SetDataSource(rpt_dataset);
     frm_result.CrystalReport.ReportSource = rpt;
     frm_result.CrystalReport.Refresh();
     frm_result.Show();
 }
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     crSTResult_Sum rpt = new crSTResult_Sum();
     rpt.Site = this.Site;
     return rpt;
 }