开发者

Create an album

I have a web application for uploading images and videos. At the moment I am just showing the links in a repeater. I want to 开发者_如何学Cdisplay the files grouped as albums. Is there any way to do this?

Thanks.


You're going to need to use some meta data with your files to let your script know how to group them. Ideally this would be stored in a database, mapping the file to its sorting meta data. that you would then be able to parse through for your desired effect.


Set up a DB field to record the filetype extension to facilitate selection. Then use the ListView GroupTemplate to organize the layout:

http://msdn.microsoft.com/en-us/library/bb398790.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜