I have 3 questions:

  1. Is it possible to create a table in WinForms other than DataGridView (in another way, because there is no possibility to set the number of rows)?

  2. Suppose, for example, I added a DataGridView1 to a form. How can you use the button in the program itself to add several more of the same tables with the same properties?

  3. Suppose I entered some numbers in several tables. How to make the same numbers in different tables stand out in a different color, or stand out the table cells that contain similar numbers?

  • (2) What's the problem? If you can add one table, what's stopping you from adding the exact same other with exactly the same code? - VladD
  • (3) Hands, all hands. Go through the values, find the ones you need, update the UI. - VladD
  • First, such a table does not fit, because there is no possibility to add lines, i.e. determine in advance how the table should look, how many columns and rows. I wanted to know whether it is possible to create it with pre-defined properties in another way. Secondly, "pens, all pens" is a very clear and detailed answer, did not know that everything is so simple. - Dmitriy
  • (3) Well, the point is that there are no built-in tools, so you have to subscribe to change data and repaint cells yourself. How exactly to do this, surely there is in the documentation. If I knew for sure, I would have written a detailed answer, not a comment. - VladD

0