资源简介
说明: 用ASP.NET中的Application对象实现的简易聊天室网页 ^_^

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Content : System.Web.UI.Page
{
protected void Page_Load(object sender EventArgs e)
{
int peopleCurrent = Int32.Parse(Application[“current“].ToString());
Application.Lock();
string strChats = Application[“chats“].ToString();
string[] strChat = strChats.Split(‘‘);
for (int i = strChat.Length - 1; i >= 0; i--)
{
if (peopleCurrent == 0)
{
txtContent.Text = strChat[i].ToString();
}
else
{
txtContent.Text = txtContent.Text + “\n“ + strChat[i].ToString();
}
}
Application.UnLock();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-11-17 13:37 Chat\
文件 556 2011-11-17 13:37 Chat\Content.aspx
文件 856 2011-11-17 13:41 Chat\Content.aspx.cs
文件 2646 2011-11-15 23:01 Chat\Default.aspx
文件 1512 2011-11-17 13:45 Chat\Default.aspx.cs
文件 1116 2011-11-15 22:04 Chat\Global.asax
目录 0 2011-11-17 13:26 Chat\Images\
文件 40994 2010-03-29 16:17 Chat\Images\1.gif
文件 2099 2010-03-29 16:18 Chat\Images\1_03.gif
文件 12398 2010-03-29 16:15 Chat\Images\2_01.gif
文件 194 2010-03-29 16:15 Chat\Images\2_02.gif
文件 1983 2010-03-29 16:15 Chat\Images\2_04.gif
文件 1271 2010-03-29 16:16 Chat\Images\2_06-02.gif
文件 1295 2010-03-29 16:16 Chat\Images\2_06.gif
文件 511 2011-11-17 13:31 Chat\List.aspx
文件 924 2011-11-17 13:36 Chat\List.aspx.cs
文件 1106 2011-11-15 22:16 Chat\Login.aspx
文件 1725 2011-11-15 22:15 Chat\Login.aspx.cs
文件 856 2011-11-15 22:52 Chat\st
文件 292 2011-11-15 22:00 Chat\web.config
- 上一篇:blowfish算法的C#实现
- 下一篇:C# ASP.NET- 在线投票系统 简单
相关资源
- C# TIP文件生成和拆解
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
评论
共有 条评论