内部论坛申请 [英] Internal Forum application

查看:60
本文介绍了内部论坛申请的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,



我正在为我的网络应用程序开发内部论坛模块。在我的Web应用程序中,有两个角色adminUser和User。用户可以发布查询我们将其保存在表格中。用户登录时查看查询并回复用户的特定查询。再次用户可以回复等等。我希望将对话存储为第一个用户回复,管理员回复等就像论坛但我的关注是我应该如何保存在表列中?



例如,如果用户发送查询 - 无法以主题身份登录,然后管理员回复 - 使用任何解决方案,用户回复---感谢您的解决方案



我希望此对话在TextBox区域如下



用户 - 无法登录

管理员 - 任何解决方案

用户 - 谢谢解决方案



请让我知道如何保存在表格中并按上述格式获取并绑定到文本框

Hi Team ,

I am developing Internal Forum Module for my web application . In My web application there are two roles adminUser and User . User Can Post Query we save it in table . User When logs in Sees the Query and replies that particular Queries of users. Again user Can reply and So On . I Wanted to Store the Conversation as First User replied , admin reply etc Just like the forums but my Concern is how should i save in Table Column ?

example , if User Sends the Query -- Unable to login as Subject , then Admin replies - With any Solution , User Replies --- Thanks for Solution

I want the This Conversation in a TextBox area like Below

User - Unable to login
Admin - With any Solution
User -- Thanks for the Solution

Please let me know how to save in table and Fetch as above format and bind to the textbox

推荐答案

首先,这个问题与ASP.Net或MVC无关。



在我继续回答这个问题之前,请问你到目前为止尝试了什么?。这是非常基本的构造,而不是像CodeProject这样在论坛上提问,你最好与同事甚至老板讨论。这样你不仅可以更快地讨论这个问题,而且你的同事可以比你在这个论坛上更快地给你输入。



无论如何,如果我理解正确你想在论坛中维持一系列转换。



你可以从这样一个非常简单的结构开始:



First of all, this question has nothing to do ASP.Net or MVC for that matter.

And before I go on to answer this question, may I ask "What have you tried so far?". This is quite basic construction and instead of asking on forum like CodeProject, you better discuss with your colleagues or even your boss. That way not only you would be in a better position to discuss this quicker but your colleagues can give you input much faster than you would get on this forum.

Anyway, if I understand correctly you want to maintain a chain of conversion in the forum.

You can start with a very simple structure like this:

Posts:

	Id,
	Title,
	Content







Replies:
	
	Id,
	PostId,		//Id column in the Posts table
	ReplyTo,	//Id column in the Reply table. If this is the direct reply to Post, it remains null.
	Content





希望这有助于开始。



Hope this help to start.


这篇关于内部论坛申请的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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