public void FillDG() { this.dgBooks.Items.Clear(); List <Book> books = dr.FillBooksList(); foreach (Book book in books) { this.dgBooks.Items.Add(book); } }
public void FillDG() { this.dgBooks.Items.Clear(); List <Book> books = dr.FillBooksList(); foreach (Book book in books) { this.dgBooks.Items.Add(book); } }