PV178 Programming for .NET Framework

Week 5

Homework #4 - Persistent storage

Assignment

Requirements:

  • The application has to allow for creating new entries about Tv series and deleting them. Editing of existing entries is not required.
  • Check the user input, before saving it to the database. Don't allow empty titles or negative number of seasons.
  • You can make use of classes/controls: DataSet, DataGridView, TableAdapter, NumbericUpDown
  • The entries in the database have to have a unique id, but don't allow user to set it. It should be assigned automatically by the application.
  • DataGridView has to display newly inserted data immediately after insertion (without pressing any button to refresh).
  • Don't allow for direct insertion of lines in the DataGridView. That should be done through the form in the second tab.
  • The entries have to be saved persistently, that means, if a user creates new entries, or deletes some, the effects of the changes should be visible even after closing and reopening of the application.

Submitting

  • Submit your homework this time as a zipped Project directory (not the whole Solution).
  • Deadline: 23:59 4.4.2010