コード例 #1
0
            public QuestionSetsRow AddQuestionSetsRow(string Name, string Description, int NumberOfQuestionsToPick, int TimeLimit, int QuestionTypeId, int QuestionSubtypeId, int NumberOfQuestionsInZone1, int NumberOfQuestionsInZone2, int NumberOfQuestionsInZone3)
            {
                QuestionSetsRow rowQuestionSetsRow = ((QuestionSetsRow)(this.NewRow()));

                rowQuestionSetsRow.ItemArray = new object[] {
                    null,
                    Name,
                    Description,
                    NumberOfQuestionsToPick,
                    TimeLimit,
                    QuestionTypeId,
                    QuestionSubtypeId,
                    NumberOfQuestionsInZone1,
                    NumberOfQuestionsInZone2,
                    NumberOfQuestionsInZone3
                };
                this.Rows.Add(rowQuestionSetsRow);
                return(rowQuestionSetsRow);
            }
コード例 #2
0
 public QuestionSetsRowChangeEvent(QuestionSetsRow row, System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
コード例 #3
0
 public void RemoveQuestionSetsRow(QuestionSetsRow row)
 {
     this.Rows.Remove(row);
 }
コード例 #4
0
 public void AddQuestionSetsRow(QuestionSetsRow row)
 {
     this.Rows.Add(row);
 }