public BooksInfoRow AddBooksInfoRow(string BookTitle, string AuthorLastName, decimal Price, int YTDSales) { BooksInfoRow rowBooksInfoRow = ((BooksInfoRow)(this.NewRow())); rowBooksInfoRow.ItemArray = new object[] { BookTitle, AuthorLastName, Price, YTDSales }; this.Rows.Add(rowBooksInfoRow); return(rowBooksInfoRow); }
public BooksInfoRowChangeEvent(BooksInfoRow row, System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveBooksInfoRow(BooksInfoRow row) { this.Rows.Remove(row); }
public void AddBooksInfoRow(BooksInfoRow row) { this.Rows.Add(row); }