public scoresRow AddscoresRow(string stu_id, string stu_name, double english_score, double math_score, double computer_score, double physics_score) { scoresRow rowscoresRow = ((scoresRow)(this.NewRow())); object[] columnValuesArray = new object[] { stu_id, stu_name, english_score, math_score, computer_score, physics_score }; rowscoresRow.ItemArray = columnValuesArray; this.Rows.Add(rowscoresRow); return(rowscoresRow); }
public scoresRowChangeEvent(scoresRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemovescoresRow(scoresRow row) { this.Rows.Remove(row); }
public void AddscoresRow(scoresRow row) { this.Rows.Add(row); }