Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the SurveyBasedReport class.
        /// </summary>
        public SurveyBasedReport()
        {
            Surveys         = new BindingList <ReportSurvey>();
            CompareWordings = true;

            Formatting    = new ReportFormatting();
            LayoutOptions = new ReportLayout();

            ColorSubs = true;

            // intialize the column order collection with the default columns
            ColumnOrder = new List <ReportColumn>
            {
                new ReportColumn("Qnum", 1),
                new ReportColumn("VarName", 2)
            };

            Numbering = Enumeration.Qnum;
            NrFormat  = ReadOutOptions.Neither;

            ReportType = ReportTypes.Standard;

            VarChangesCol      = false;
            ExcludeTempChanges = true;

            FileName     = "";
            Details      = "";
            ReportStatus = "Generating report...";
            ShowQuestion = true;
        }
Ejemplo n.º 2
0
        public VarNameBasedReport()
        {
            VarNames  = new BindingList <VariableName>();
            questions = new List <SurveyQuestion>();

            Formatting    = new ReportFormatting();
            LayoutOptions = new ReportLayout();
        }
Ejemplo n.º 3
0
        public SurveyReport()
        {
            SurveyReportData = new DataSet("Survey Report");
            sql = new SqlDataAdapter();
            SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ISISConnectionString"].ConnectionString);

            layoutoptions = new ReportLayout();
            formatting    = new ReportFormatting();
            surveycompare = new Comparison();
            surveys       = new List <Survey>();
        }