Ok, so I am creating a web part for Sharepoint 2010 that will iterate through a list (list has about 80 columns!!) and display some row data in a nice and orderly fashion.
I have created label controls and there is some HTML (tables mostly and some css within the tables) on the front-end of the webppart, the .ascx file.
I am able to display (I'm creating a nice report-like format) data from one row. On the screen, it looks like a document. However, there are many more rows I need to display (many more reports-like to be rendered) and I need to display those other rows and render a report-like document. What is the right approach to take here? I've never created Templates, but I'm certain I would be able to. Or should I create classes? I don't know... I'm at a loss here. Could someone provide me with ideas and share things in detail? I'm a bit new to web parts/sharepoint 2010.
Thank you.
What I have tried:
So far, I've searched about templates, etc., but I do not know where to begin with templates. I was also wondering about creating a class/classes and instantiate them, etc, but I don't know how to do this with web parts.
I'm using Sharepoint 2010 and VS 2010.
Thanks