DTcms.Web.Plugin.Link/DTcms.Web.Plugin.Link.admin/link_edit.cs

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using DTcms.BLL;
using DTcms.Common;
using DTcms.Web.Plugin.Link.BLL;
using DTcms.Web.Plugin.Link.Model;
using DTcms.Web.UI;
using System;
using System.Data;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

namespace DTcms.Web.Plugin.Link.admin
{
	public class link_edit : ManagePage
	{
		private string action = DTEnums.ActionEnum.Add.ToString();

		private int id = 0;

		protected HtmlForm form1;

		protected DropDownList ddlSitePath;

		protected TextBox txtTitle;

		protected RadioButtonList rblIsLock;

		protected CheckBox cbIsRed;

		protected TextBox txtSortId;

		protected TextBox txtUserName;

		protected TextBox txtUserTel;

		protected TextBox txtEmail;

		protected TextBox txtSiteUrl;

		protected TextBox txtImgUrl;

		protected Button btnSubmit;

		protected void Page_Load(object sender, EventArgs e)
		{
			string _action = DTRequest.GetQueryString("action");
			if (!string.IsNullOrEmpty(_action) && _action == DTEnums.ActionEnum.Edit.ToString())
			{
				this.action = DTEnums.ActionEnum.Edit.ToString();
				this.id = DTRequest.GetQueryInt("id");
				if (this.id == 0)
				{
					base.JscriptMsg("传输参数不正确!", "back");
					return;
				}
				if (!new DTcms.Web.Plugin.Link.BLL.link().Exists(this.id))
				{
					base.JscriptMsg("内容不存在或已被删除!", "back");
					return;
				}
			}
后面还有 145 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。