I need to present data in a tabular form in windows form using c#. Basically, I will extract data from received messages (not database) then display it in a table by specifying the column and row.
First, I started with TableLayoutPanel
but I discovered that I should add controls for each cell which is not what I need and it is tedious.
Do you have any better suggestion? Much appreciated.
I think you're best off using a DataGridView
, see this link.
It allows you to assign a datasource (which you can specify yourself). The image below demonstrates one of many ways that you can make your dataview look like.
There is even a nice tutorial which you can follow right here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With