Reputation: 7700
The source of my problem is my lack of experience with asp.net. I'm trying to display my videos in database as a html like table. Much like the main page of youtube or other video sharing websites.
To give more detail, I need to display small pictures that are linked to watch.aspx that are concerned of duration, name, users, and the thumbnail of the video.
Right now I'm creating a dynamic html table on the codebehind (programmatically creating href, div, img etc.. tags), resulting unnecessary more coding, a hard way to edit the design, less flexibility.
I know there are some nice controls that are being used in asp.net like gridview etc.. But I'm not experienced to select which or how to use.
Am I doing it the right way, or should I make them user controls, or use something like gridview, datalist, datatable?
More spesific, what is the best way to create the main page or search page of youtube on asp.net?
to give you a hint; this is what I'm asking about:
Upvotes: 2
Views: 762
Reputation: 344
DevExpress controls are also very good .... here is the link to their asp.net controls http://www.devexpress.com/Products/NET/Controls/ASP/
Upvotes: 1
Reputation: 94643
You may use DataList - ASP.NET Server control and set RepeatColumns=n
property to display n
columns per row.
Upvotes: 2