c# - Windows form application: Displaying rows of content -
Is it possible to display content in a window form based on the rows in a database? I do not know that this is possible in a simple way, but the concept is attached below, which shows the content section, there is an image on the left and label should be a name for 2 person and label 3 is the content that the person writes.
The question now is that there are more than one post, how can I show "rows" for all content from a database. If I used to use ASP.NET, then perhaps it would be easy because the format would be:
& Lt; H1 & gt; Name & lt; / H1> & Lt; P & gt; Content & lt; P & gt; & Lt; / Li & gt; & Lt; Ul & gt;
You should create user controls with your "post" and use FlowLayoutPanel as the next container and add your children , Your "control" is made for each post by DB.
EDIT: If you set the FlowoutPanel.flow direction to TopDown then you will find what you are looking for.
Comments
Post a Comment