資源簡介
聊天室系統 課程設計 asp.net 有論文
代碼片段和文件信息
using?System;
using?System.Collections;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Web;
using?System.Web.SessionState;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Web.UI.HtmlControls;
namespace?Aptech.Chat
{
using?Aptech.Chat.Class;
///?
///?bottom?的摘要說明。
///?
public?partial?class?bottom?:?System.Web.UI.Page
{
protected?void?Page_Load(object?sender?System.EventArgs?e)
{
//?在此處放置用戶代碼以初始化頁面
if(txtMessage.Text?!=?““)
{
SendMessage();
}
}
????????private?void?SendMessage()
????????{
?????????
????????}
#region?Web?窗體設計器生成的代碼
override?protected?void?OnInit(EventArgs?e)
{
//
//?CODEGEN:?該調用是?ASP.NET?Web?窗體設計器所必需的。
//
InitializeComponent();
base.OnInit(e);
}
///?
///?設計器支持所需的方法?-?不要使用代碼編輯器修改
///?此方法的內容。
///?
private?void?InitializeComponent()
{????
}
#endregion
protected?void?btnSend_Click(object?sender?System.EventArgs?e)
{
int?type?=?1;
if(chkSingle.Checked)
{
type?=?2;
}
string?message?=?“yle=font-weight:“?+?(txtBold.Text?==?“1“?“bold“:““)??+?“>“?+?txtMessage.Text?+?““;
?
ChatContentDataSet?chatContentDataSet?=?(ChatContentDataSet)Application[“ChatContent“];
chatContentDataSet.ChatContent.AddChatContentRow(
int.Parse(Session[“UserId“].ToString())
int.Parse(txtAcceptUserId.Text)
Session[“UserName“].ToString()
txtAcceptUserName.Text
DateTime.Now
message
type);
txtMessage.Text?=?““;
txtAcceptUserId.Text?=?“0“;
txtAcceptUserName.Text?=?“所有人“;
}
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????406528??2009-07-03?14:00??聊天室系統.doc
?????文件???????8400??2009-06-24?12:35??Chat\bottom.aspx
?????文件???????5317??2005-08-30?11:15??Chat\bottom.aspx.resx
?????文件???????1191??2009-06-24?12:31??Chat\Chat.sln
????..A..H.?????28672??2009-06-24?15:53??Chat\Chat.suo
?????文件???????4964??2009-06-24?12:35??Chat\ConversionReport.txt
?????文件?????????64??2009-06-24?12:35??Chat\Global.asax
?????文件???????1733??2002-01-30?13:04??Chat\Global.asax.resx
?????文件????????476??2005-08-23?09:47??Chat\index.htm
?????文件???????3055??2009-06-24?12:35??Chat\Left.aspx
?????文件???????2556??2009-06-24?12:35??Chat\Left.aspx.cs
?????文件???????5317??2005-08-29?18:06??Chat\Left.aspx.resx
?????文件???????1749??2009-06-24?12:35??Chat\Login.aspx
?????文件???????2805??2009-06-24?12:35??Chat\Login.aspx.cs
?????文件???????5317??2005-08-16?14:33??Chat\Login.aspx.resx
?????文件????????520??2009-06-24?12:35??Chat\Main.aspx
?????文件???????3752??2009-06-24?12:35??Chat\Main.aspx.cs
?????文件???????5317??2005-08-22?16:58??Chat\Main.aspx.resx
?????文件????????549??2005-08-23?09:39??Chat\Main.htm
?????文件???????3891??2009-06-24?12:35??Chat\Register.aspx
?????文件???????2939??2009-06-24?12:35??Chat\Register.aspx.cs
?????文件???????5317??2005-08-16?09:55??Chat\Register.aspx.resx
?????文件???????1178??2009-06-24?12:35??Chat\Top.aspx
?????文件???????1443??2009-06-24?12:35??Chat\Top.aspx.cs
?????文件???????5317??2005-08-30?16:43??Chat\Top.aspx.resx
?????文件???????4162??2005-08-23?16:47??Chat\UserInfo.dtq
?????文件????????278??2009-06-24?15:56??Chat\vwd.webinfo
?????文件????????712??2009-06-24?12:35??Chat\WebForm1.aspx
?????文件???????1844??2009-06-24?12:35??Chat\WebForm1.aspx.cs
?????文件???????5317??2005-08-09?10:22??Chat\WebForm1.aspx.resx
............此處省略177個文件信息
- 上一篇:網上教學系統 asp.net
- 下一篇:asp酒店管理系統源代碼
評論
共有 條評論