Backup/Web/TalkRoom/ShowMessage.aspx.cs
(完整代码) 1KBusing System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class TalkRoom_ShowMessage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
try
{
DataSet MYDT = ZWL.DBUtility.DbHelperSQL.GetDataSet("select top 100 * from ERPTalkInfo where TalkRoomName='" + Request.QueryString["TalkRoomName"].ToString() + "' and (UserName='" + ZWL.Common.PublicMethod.GetSessionValue("UserName") + "' or ToUser='" + ZWL.Common.PublicMethod.GetSessionValue("UserName") + "' or ToUser='所有人') order by ID desc");
for(int i=0;i<MYDT.Tables[0].Rows.Count;i++)
{
this.Label1.Text = this.Label1.Text + "(" + MYDT.Tables[0].Rows[i]["TimeStr"].ToString() + ") <font color=Red>" + MYDT.Tables[0].Rows[i]["UserName"].ToString() + "</font> 对 <font color=Blue>" + MYDT.Tables[0].Rows[i]["ToUser"].ToString() + "</font> 说道: " + MYDT.Tables[0].Rows[i]["ContentStr"].ToString() + "<hr style=\"height:1px; color: #006600;\">";
}
}
catch
{ }
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。