Gridview/lilstview在detailsview中 [英] Gridview/lilstview in the detailsview
问题描述
大家好,
我有一个带有2个命令按钮的gridview编辑和删除.单击编辑按钮时,应显示该行的详细信息,因此我们使用了详细信息视图.现在的问题是...,我需要显示该特定用户已经在数据库中的一些pdf列表.我很困惑,就像我应该使用什么控件.我应该在哪里使用.考虑使用gridview/listview或repeater.
我是.net的新手,所以我在大多数事情上都不是很擅长.你能解释一下我该怎么做.,
谢谢
Hi All.,
I am having a gridview with 2 command buttons edit and delete. When the edit button is clicked the details of the row should be displayed so we used a details view. Now the question is that ., I need to display the list of some pdfs already in the db for that specific user . I am confused like what control should i use.,where should i use . Thinking of using either gridview/listview or repeater.
I am new to .net so I am not really good at most of the things . Can you explain me how can I do this.,
Thanks
推荐答案
如果您只想显示文件名列表,则可以使用列表框.如果要显示文件名以及其他一些详细信息,也许还需要显示文档的缩略图,则最好使用中继器.确实取决于您的设计和用户需求.
If you just want to display a list of filenames then a listbox would be fine. If you wanted to display the filename with some other details and, perhaps, a thumbnail of the document then a repeater might be best. Really depends on your both your design and user needs.
这篇关于Gridview/lilstview在detailsview中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!