Snailsoft.CRM.Web/CommonBBS/BBSUI/BBSNewTopic.aspx.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
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;
using Snailsoft.Utils;
using Snailsoft.BBS.DB;
using Snailsoft.BBS.DB.Data;
using Snailsoft.BBS.Business;
using Snailsoft.BBS.BaseClass;
using Snailsoft.BBS.BBSInterface;
namespace Snailsoft.BBS.BBSUI
{
/// <summary>
/// BBSNewTopic 的摘要说明。
/// </summary>
public class BBSNewTopic : BBSBasePage
{
protected System.Web.UI.WebControls.Button btnSave;
protected System.Web.UI.WebControls.TextBox articleTitle;
private int boardID= 0;
protected System.Web.UI.WebControls.HyperLink BBSName;
protected System.Web.UI.WebControls.HyperLink cateName;
protected System.Web.UI.WebControls.HyperLink boardName;
protected System.Web.UI.WebControls.Label articleName;
protected System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
protected FreeTextBoxControls.FreeTextBox articleContent;
private int parentArticleID= 0;
private int currentArticleID= 0;
private void Page_Load(object sender, System.EventArgs e)
{
this.boardID= Convert.ToInt32(this.Request.QueryString["boardID"]);
string tempParentID= this.Request.QueryString["parentArticleID"];
string tempCurrentID= this.Request.QueryString["currentArticleID"];
if(tempParentID!=""&&tempParentID!=null)
{
this.parentArticleID= Convert.ToInt32(tempParentID);
}
if(tempCurrentID!="" && tempCurrentID!= null)
{
this.currentArticleID= Convert.ToInt32(tempCurrentID);
}
this.GenNavigator(this.boardID,this.parentArticleID);
if(this.IsPostBack==false&& this.currentArticleID!=0)
{
this.LoadInfo(this.currentArticleID);
}
}
#region Web 窗体设计器生成的代码
override protected void OnInit(EventArgs e)
后面还有 170 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
