在 ASP.NET 中显示注释的最佳方式是什么?

发布于 2024-09-01 09:30:18 字数 103 浏览 2 评论 0原文

我正在使用 Microsoft 技术开发一个社交网络。我想制作一堵类似于 Facebbok 中的墙。执行此操作并显示评论的最佳方法是什么?中继器?我使用的是经典 ASP.NET 而不是 MVC

I'm developing a social network using Microsoft Technologies. I want to make a Wall similar to the one in Facebbok. What is the best way to do it and display comments ? Repeaters ? I'm using classic ASP.NET not MVC

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

负佳期 2024-09-08 09:30:18

这取决于。你打算使用 Restful 状态还是其他什么。

我个人使用中继器可以让您更好地控制正在显示的 HTML、Jquery 等。

VS 中的 AJAX 工具包可以为您提供更新面板来显示项目。

通常我的方法是最容易开发和维护的,但每个人都会有自己的偏好。

It depends. Are you going to use Restful state or something else.

I personally use the repeater has you have more control over the HTML, Jquery etc that is being displayed.

AJAX toolkit in VS could give you the update panel to display items.

The easiest to develop and maintain is normally my approach, but everyone will have their preferences.

完美的未来在梦里 2024-09-08 09:30:18

如果您使用 3.5,请尝试 ListView 控件,与 Repeater 相比,它具有新的很酷的功能。

If you use 3.5 try ListView control which has new cool features comparing to Repeater.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文