public QuestionRow AddQuestionRow(string QuestionText, VoterRow parentVoterRowByVoterQuestion) { QuestionRow rowQuestionRow = ((QuestionRow)(this.NewRow())); rowQuestionRow.ItemArray = new object[] { QuestionText, parentVoterRowByVoterQuestion[0], null }; this.Rows.Add(rowQuestionRow); return(rowQuestionRow); }
public VoterRow AddVoterRow(string UID, int SurveyID, string ContextUserName, System.DateTime VoteDate, System.DateTime StartDate, string IPSource, string Email, string LanguageCode) { VoterRow rowVoterRow = ((VoterRow)(this.NewRow())); rowVoterRow.ItemArray = new object[] { null, UID, SurveyID, ContextUserName, VoteDate, StartDate, IPSource, Email, LanguageCode }; this.Rows.Add(rowVoterRow); return(rowVoterRow); }
public VoterRowChangeEvent(VoterRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveVoterRow(VoterRow row) { this.Rows.Remove(row); }
public void AddVoterRow(VoterRow row) { this.Rows.Add(row); }
public QuestionRow AddQuestionRow(string QuestionText, VoterRow parentVoterRowByVoterQuestion) { QuestionRow rowQuestionRow = ((QuestionRow)(this.NewRow())); rowQuestionRow.ItemArray = new object[] { QuestionText, parentVoterRowByVoterQuestion[0], null}; this.Rows.Add(rowQuestionRow); return rowQuestionRow; }