コード例 #1
0
    private void StageFirstCalling()
    {
        DataSet ds = new DataSet();

        this.Obj_Dal_AgewiseStudentReport = new AgewiseStudentReport();
        string Groupname;
        string Year;

        if (ddlGroupName.SelectedIndex == 0)
        {
            Groupname = null;
        }
        else
        {
            Groupname = ddlGroupName.SelectedItem.ToString();
        }
        if (ddlYear.SelectedIndex == 0)
        {
            Year = null;
        }
        else
        {
            Year = ddlYear.SelectedItem.ToString();
        }
        ds = this.Obj_Dal_AgewiseStudentReport.GetAgewiseStudentReport(Convert.ToInt32(ddlSchool.SelectedValue), Convert.ToInt32(ddlBoard.SelectedValue), Convert.ToInt32(ddlMedium.SelectedValue), Convert.ToString(Groupname), Convert.ToString(Year));

        GetConnectionStringSTRING obj = new GetConnectionStringSTRING();

        connectionstring  = obj.BAL_EpathshalaString();
        rptSchool.Visible = true;
        CommanCallUserControl(ds, "../ReportXMLFiles/AgewiseStudentReportFirst.xml");
        rptSchool.Search(ds.Tables[0]);
        CurrentReport = "School";
    }
コード例 #2
0
    private void StageSecondCalling()
    {
        DataSet dtResult = new DataSet();

        this.Obj_Dal_AgewiseStudentReport = new AgewiseStudentReport();
        dtResult = this.Obj_Dal_AgewiseStudentReport.GetAgewise(this.SchoolID, this.BoardID, this.MediumID, this.GroupName, this.Year, this.StudentAgeGropIDPara);

        GetConnectionStringSTRING obj = new GetConnectionStringSTRING();

        connectionstring = obj.BAL_EpathshalaString();

        rptAgeGroup.XMLReportFile = Server.MapPath("../ReportXMLFiles/AgewiseStudentReportSecond.xml");
        rptAgeGroup.Search(dtResult.Tables[0]);
        CurrentReport = "AgeGroup";
    }
コード例 #3
0
    private void StageThirdCalling()
    {
        DataSet dtResult = new DataSet();

        this.Obj_Dal_AgewiseStudentReport = new AgewiseStudentReport();
        dtResult = this.Obj_Dal_AgewiseStudentReport.GetAgewiseStudent(this.SchoolID, this.BoardID, this.MediumID, this.GroupName, this.Year, this.BMSID, this.DivisionID, this.Description);

        GetConnectionStringSTRING obj = new GetConnectionStringSTRING();

        connectionstring = obj.BAL_EpathshalaString();

        rptStudent.XMLReportFile = Server.MapPath("../ReportXMLFiles/AgewiseStudentReportThird.xml");
        rptStudent.Search(dtResult.Tables[0]);
        CurrentReport = "Student";
    }