用于注释弹出的控件 [英] which control to use for comment popup
本文介绍了用于注释弹出的控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI,
我创建了一个弹出窗口,该弹出窗口有助于向用户,文本框以及上面要显示已存在的注释的文本写注释,该控件最适合解决此问题
i have created a popup,which helps to write comments to the user , a textbox and above that i want to display already present comments,which control is best for this problem
推荐答案
要显示您现有的注释,可以在Asp.Net中使用" ListView ".
http://msdn.microsoft.com/en-us/library/bb398790.aspx
这是" Listview数据绑定"的几个链接.
http://geekswithblogs.net/rashid/archive/2007/09/09/Asp.net-ListView --- DataBinding.aspx
如果您只想显示自己的注释,而又不想提供其他功能,例如插入/更新/删除和分页,排序等,则可以使用 Repeater 控件.看看下面的链接.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.repeater.aspx
http://www.netrostar.com/Tutorials-91-ASP .NET%20Tutorial.%20How%20to%20use%20Repeater
下面是一篇文章,提供有关Asp.Net的不同数据列表控件及其比较的信息.
http://weblogs.asp. net/anasghanem/archive/2008/09/06/comparing-listview-with-gridview-datalist-and-repeater.aspx
To display your existing comments you may use "ListView" in Asp.Net.
http://msdn.microsoft.com/en-us/library/bb398790.aspx
Here are couple of links for "Listview Data Binding".
http://weblogs.asp.net/scottgu/archive/2007/08/10/the-asp-listview-control-part-1-building-a-product-listing-page-with-clean-css-ui.aspx
http://geekswithblogs.net/rashid/archive/2007/09/09/Asp.net-ListView---DataBinding.aspx
In case if you only want to display your comments, and do not want to provide extra features such as Insert/Update/Delete and paging, sorting etc. then you may use Repeater control. Have a look at below links.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.repeater.aspx
http://www.netrostar.com/Tutorials-91-ASP.NET%20Tutorial.%20How%20to%20use%20Repeater
Below is an Article which provides information on different data-listing controls of Asp.Net and their comparison.
http://weblogs.asp.net/anasghanem/archive/2008/09/06/comparing-listview-with-gridview-datalist-and-repeater.aspx
首先选择该控件并使用ctrl + K然后C将注释该代码,然后ctrl + K然后U将从Comment中释放该代码
firstly Select that Control and use ctrl+K then C will comment that code and ctrl+K then U will release that code from Comment
这篇关于用于注释弹出的控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文