My program should optionally display one of the tables from the database with the ability to edit the content.

Of course, you can read the data from the database, write methods to display the table and edit ... But is there a ready-made solution for C #?

Found (as far as I understand) how to display the table: https://msdn.microsoft.com/ru-ru/library/ms171884 (v=vs.110) .aspx

But how to implement editing through the table displayed in my program? That is, changing values ​​or adding table elements (you can leave the columns untouched) and they are immediately changed in the database (or in a copy stored in memory for later saving).

    1 answer 1

    I think you need a DataGridView - this is a standard component.

    In this article you can see an example of working with a DataGridView .

    • one
      Thank! Looks like what you need. - InfernumDeus