コード例 #1
0
 public QuestionResultsData.AnswersRow AddAnswersRow(QuestionResultsData.QuestionsRow parentQuestionsRowByQuestionsAnswers, int AnswerTypeId, int VoterCount, int TypeMode, string AnswerText, bool RatePart)
 {
     QuestionResultsData.AnswersRow row = (QuestionResultsData.AnswersRow)base.NewRow();
     object[] objArray = new object[7];
     objArray[1]   = parentQuestionsRowByQuestionsAnswers[0];
     objArray[2]   = AnswerTypeId;
     objArray[3]   = VoterCount;
     objArray[4]   = TypeMode;
     objArray[5]   = AnswerText;
     objArray[6]   = RatePart;
     row.ItemArray = objArray;
     base.Rows.Add(row);
     return(row);
 }
コード例 #2
0
 public QuestionResultsData.QuestionsRow AddQuestionsRow(int ParentQuestionId, int SurveyId, int SelectionModeId, int DisplayOrder, string QuestionText, bool RatingEnabled, string ParentQuestionText)
 {
     QuestionResultsData.QuestionsRow row = (QuestionResultsData.QuestionsRow)base.NewRow();
     object[] objArray = new object[8];
     objArray[1]   = ParentQuestionId;
     objArray[2]   = SurveyId;
     objArray[3]   = SelectionModeId;
     objArray[4]   = DisplayOrder;
     objArray[5]   = QuestionText;
     objArray[6]   = RatingEnabled;
     objArray[7]   = ParentQuestionText;
     row.ItemArray = objArray;
     base.Rows.Add(row);
     return(row);
 }
コード例 #3
0
 public void RemoveQuestionsRow(QuestionResultsData.QuestionsRow row)
 {
     base.Rows.Remove(row);
 }
コード例 #4
0
 public void AddQuestionsRow(QuestionResultsData.QuestionsRow row)
 {
     base.Rows.Add(row);
 }
コード例 #5
0
 public QuestionsRowChangeEvent(QuestionResultsData.QuestionsRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
コード例 #6
0
 public QuestionsRowChangeEvent(QuestionResultsData.QuestionsRow row, DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }