Esempio n. 1
0
 public VoterAnswersData.VotersAnswersRow AddVotersAnswersRow(VoterAnswersData.VotersRow parentVotersRowByVoterAnswersRelation, int AnswerId, int QuestionId, string AnswerText, int SectionNumber, int TypeMode)
 {
     VoterAnswersData.VotersAnswersRow row = (VoterAnswersData.VotersAnswersRow)base.NewRow();
     row.ItemArray = new object[] { parentVotersRowByVoterAnswersRelation[0], AnswerId, QuestionId, AnswerText, SectionNumber, TypeMode };
     base.Rows.Add(row);
     return(row);
 }
Esempio n. 2
0
 public VoterAnswersData.VotersRow AddVotersRow(int SurveyId, DateTime VoteDate, string IPSource, bool Validated, DateTime StartDate, string UId, string Email, string ResumeUID, DateTime ProgressSaveDate, int ResumeAtPageNumber, int ResumeQuestionNumber, int ResumeHighestPageNumber, string ContextUserName, string LanguageCode)
 {
     VoterAnswersData.VotersRow row = (VoterAnswersData.VotersRow)base.NewRow();
     object[] objArray = new object[15];
     objArray[1]   = SurveyId;
     objArray[2]   = VoteDate;
     objArray[3]   = IPSource;
     objArray[4]   = Validated;
     objArray[5]   = StartDate;
     objArray[6]   = UId;
     objArray[7]   = Email;
     objArray[8]   = ResumeUID;
     objArray[9]   = ProgressSaveDate;
     objArray[10]  = ResumeAtPageNumber;
     objArray[11]  = ResumeQuestionNumber;
     objArray[12]  = ResumeHighestPageNumber;
     objArray[13]  = ContextUserName;
     objArray[14]  = LanguageCode;
     row.ItemArray = objArray;
     base.Rows.Add(row);
     return(row);
 }
Esempio n. 3
0
 public void RemoveVotersRow(VoterAnswersData.VotersRow row)
 {
     base.Rows.Remove(row);
 }
Esempio n. 4
0
 public void AddVotersRow(VoterAnswersData.VotersRow row)
 {
     base.Rows.Add(row);
 }
Esempio n. 5
0
 public VotersRowChangeEvent(VoterAnswersData.VotersRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
 public VotersRowChangeEvent(VoterAnswersData.VotersRow row, DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }