ASP.NET/C#是否允许用户在网页中发表评论/回复? [英] ASP.NET/C# Allowing the user to comment/reply in a webpage?

查看:292
本文介绍了ASP.NET/C#是否允许用户在网页中发表评论/回复?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个ASP.NET C#Web应用程序,我正在寻找一种最简单的方法来创建注释系统.

我会解释.

我有一个页面,其中包含项目(列出包含文本的项目)

我希望用户能够单击一个,然后允许他对其进行回复或评论.他也可以看到其他人的答复.

任何有关如何执行此操作的建议将不胜感激.

是否有可以做到这一点的库或API?如果不能,可以给我提示如何做吗?

非常感谢您

Hi, i am creating an ASP.NET C# web application and I am looking for the easiest way to do a comments system.

I''ll explain.

I have a page containing Items (list items contaning texts)

I want the users to be able to click on one, and then he is allowed to reply or comment to it. and he can see what others have replied too.

Any suggestions on how to do that is greatly appreciated.

Is there a library or API that can do that? and if not can you give me tips on how to do it?

thank you very much

推荐答案



在这种情况下,每个人都按照自己的方式行事.您必须考虑自己,以自己的方式获得最佳解决方案.

现在我正在提供自己的方式如果我在那里我会做什么.

第一个设计数据库表的一切都从背面开始

我们必须创建以下表格...

ItemTab (id,itemname,itemdesc,itempic,...)
RplyComTab (id,desc,itemid ...

然后设计页面,一切都在这里结束..

当用户单击项目时,我们必须显示所有评论/rplys
在中继器控制或其他控制中..
基于该itemid

尝试一些自己的代码,然后遇到特定问题.

一切顺利.
Hi,

every one follow their own way for this situations .you''ve to think yourself for best solution in your way.

now i''m providing my way If I''m there what I do.

First design database tables everything starts from back only

we''ve to create following tables ...

ItemTab(id,itemname,itemdesc,itempic,...)
RplyComTab(id,desc,itemid...

then designing page everything ends here..

when user clicks item we''ve to show all comments/rplys
in repeater control or some other..
based on that itemid

Try some your own code then come back with specific problem.

All the Best.


这篇关于ASP.NET/C#是否允许用户在网页中发表评论/回复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆