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(); }
public StudentFee() { _StudentDTO = new cls_StudentDTO(); commonBindControl = new CommonBindControl(); _sectionDTO = new cls_SectionDTO(); _FeeDTO = new cls_FeeDTO(); _classDTO = new cls_ClassDTO(); }
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(); }
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"; }
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) { } }
public uc_FeeReceipt() { _OrganizationDTO = new cls_OrganizationDTO(); _StudentDTO = new cls_StudentDTO(); }
public Result() { _obj = new cls_StudentDTO(); }
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(); }
public uc_Class() { _StudentDTO = new cls_StudentDTO(); commonBindControl = new CommonBindControl(); _sectionDTO = new cls_SectionDTO(); }