Esempio n. 1
0
        public void GenerateStudentReport(string finYear, string classId, string sectionID, string gender, string casteType, string commandName)
        {
            try
            {
                ReportViewer1.ProcessingMode = ProcessingMode.Local;
                cls_StudentDTO obj = new cls_StudentDTO();
                DataTable      ds  = new DataTable();//
                if (commandName == "StudentReport")
                {
                    ReportViewer1.LocalReport.ReportPath = Server.MapPath("~/App/Report/StudentList.rdlc");
                }

                if (commandName == "CrossList")
                {
                    ReportViewer1.LocalReport.ReportPath = Server.MapPath("~/App/Report/StudentCrossList.rdlc");
                }

                if (commandName == "GeneralInfo")
                {
                    ReportViewer1.LocalReport.ReportPath = Server.MapPath("~/App/Report/StudentGeneral_Info.rdlc");
                }

                ds = obj.RPT_StudentData(finYear, sectionID, gender, casteType);

                ReportDataSource rds = new ReportDataSource("dsStudentList", ds);
                ReportViewer1.LocalReport.DataSources.Clear();
                ReportViewer1.LocalReport.DataSources.Add(rds);
                ReportViewer1.LocalReport.EnableExternalImages = true;
                ReportViewer1.LocalReport.Refresh();
            }
            catch (Exception ex)
            {
            }
        }
 public StudentAttendance()
 {
     _StudentDTO           = new cls_StudentDTO();
     _StudentAttendanceDTO = new cls_StudentAttendanceDTO();
     commonBindControl     = new CommonBindControl();
     _sectionDTO           = new cls_SectionDTO();
 }
Esempio n. 3
0
 public StudentFee()
 {
     _StudentDTO       = new cls_StudentDTO();
     commonBindControl = new CommonBindControl();
     _sectionDTO       = new cls_SectionDTO();
     _FeeDTO           = new cls_FeeDTO();
     _classDTO         = new cls_ClassDTO();
 }
Esempio n. 4
0
 public Student()
 {
     _StudentDTO        = new cls_StudentDTO();
     commonBindControl  = new CommonBindControl();
     _sectionDTO        = new cls_SectionDTO();
     _cls_City          = new cls_City();
     _classDTO          = new cls_ClassDTO();
     _StudentSubjectDTO = new cls_StudentSubjectDTO();
 }
Esempio n. 5
0
        private void BindToStudent()
        {
            _obj = new cls_StudentDTO();
            var data = _obj.GetAllStudent(uc_finyearTo.FinyearValue, uc_ClassTo.SectionValue);

            lbToStudent.DataSource = data.Select(s => new { s.StudentId, StudentName = string.Format("{0} - {1}", s.FormNumber, s.StudentName) });
            lbToStudent.DataBind();
            lbToStudent.DataTextField  = "StudentName";
            lbToStudent.DataValueField = "StudentId";
        }
Esempio n. 6
0
        public void GenerateStudentSummaryReport(string finYear, string commandName)
        {
            try
            {
                ReportViewer1.ProcessingMode = ProcessingMode.Local;
                cls_StudentDTO obj = new cls_StudentDTO();
                DataTable      ds  = new DataTable();//
                if (commandName == "SummaryReport")
                {
                    ReportViewer1.LocalReport.ReportPath = Server.MapPath("~/App/Report/StudentSummary.rdlc");
                }

                ds = obj.RPT_StudentData(finYear);

                ReportDataSource rds = new ReportDataSource("dsStudentList", ds);
                ReportViewer1.LocalReport.DataSources.Clear();
                ReportViewer1.LocalReport.DataSources.Add(rds);
                ReportViewer1.LocalReport.Refresh();
            }
            catch (Exception ex)
            {
            }
        }
Esempio n. 7
0
 public uc_FeeReceipt()
 {
     _OrganizationDTO = new cls_OrganizationDTO();
     _StudentDTO      = new cls_StudentDTO();
 }
Esempio n. 8
0
 public Result()
 {
     _obj = new cls_StudentDTO();
 }
Esempio n. 9
0
 public ExamManagement()
 {
     commonBindControl = new CommonBindControl();
     ExamDTO           = new cls_ExamDTO();
     _StudentDTO       = new cls_StudentDTO();
 }
 public ClassExamReport()
 {
     commonBindControl = new CommonBindControl();
     ExamDTO           = new cls_ExamDTO();
     _StudentDTO       = new cls_StudentDTO();
 }
Esempio n. 11
0
 public uc_Class()
 {
     _StudentDTO       = new cls_StudentDTO();
     commonBindControl = new CommonBindControl();
     _sectionDTO       = new cls_SectionDTO();
 }