public void GetSurveyResponses(string SurveyID) { //MeetingDetail _surveyDetail = m_acConn.GetMeetingDetail(SurveyID); /* * XmlNodeList _surveyIteractions = m_acConn.Report_QuizInteractions(SurveyID, string.Empty, out sInfo); * XmlNodeList _surveyQuestionDistribution = m_acConn.Report_QuizQuestionDistribution(SurveyID, string.Empty, out sInfo); * if (_surveyIteractions == null || _surveyQuestionDistribution == null) return; * * DataTable _TblSurveyIteractions = GetDataTable(_surveyIteractions); * DataTable _TblSurveyQuestionDistribution = GetDataTable(_surveyQuestionDistribution); * _TblSurveyQuestionDistribution.Columns.Add(new DataColumn("QuestionName")); * * foreach (DataRow qaRow in _TblSurveyQuestionDistribution.Rows) * { * DataRow[] dr = _TblSurveyIteractions.Select("[interaction-id]=" + qaRow["interaction-id"].ToString()); * if (dr == null || dr.Length < 1) continue; * * qaRow["QuestionName"] = dr[0]["Description"]; * } * _TblSurveyQuestionDistribution.AcceptChanges(); */ XmlNodeList _surveyQuestionDistribution = m_acConn.Report_QuizQuestionDistribution(SurveyID, string.Empty, out sInfo); if (_surveyQuestionDistribution == null) { return; } DataTable _TblSurveyQuestionDistribution = GetDataTable(_surveyQuestionDistribution); DumpResultsCSV(_TblSurveyQuestionDistribution, "Report_SurveyResponses", string.Empty); //XmlNodeList _surveyIteractions = m_acConn.Report_BulkQuestions(string.Empty, out sInfo); //DumpResultsCSV(GetDataTable(_surveyIteractions), "Report_BulkQuestions", string.Empty); return; /* * XmlNodeList _surveyData = m_acConn.Report_QuizQuestionResponse(SurveyID, string.Empty, out sInfo); * * if(_surveyData!=null) * foreach (XmlNode node in _surveyData) * { * * } */ }