Web/DingInfo.aspx.cs

(开头部分) 4KB

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

using System;
using System.Web.UI;
using System.Web.UI.HtmlControls;

namespace Maticsoft.Web
{
    public partial class DingInfo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SEO_HEAD();
        }

        private void Clear()
        {
            txtAddress.Text = string.Empty;
            txtCompany.Text = string.Empty;
            txtContent.Text = string.Empty;
            txtDingTitle.Text = string.Empty;
            txtEmail.Text = string.Empty;
            txtFax.Text = string.Empty;
            txtPhone.Text = string.Empty;
            txtWrite.Text = string.Empty;
            txtyoubian.Text = string.Empty;
        }

        private bool InitDingLoad()
        {
            if (string.IsNullOrEmpty(txtDingTitle.Text.Trim()))
            {
                lblInfo.Text = "请填写订单名称!";
                txtDingTitle.Focus();
                return false;
            }
            if (string.IsNullOrEmpty(txtWrite.Text.Trim()))
            {
                lblInfo.Text = "请填写订单人!";
                txtWrite.Focus();
                return false;
            }
            if (string.IsNullOrEmpty(txtAddress.Text.Trim()))
            {
                lblInfo.Text = "请填写联系地址";
                txtAddress.Focus();
                return false;
            }
            if (string.IsNullOrEmpty(txtPhone.Text.Trim()))
            {
                lblInfo.Text = "请填写联系电话";
                txtPhone.Focus();
                return false;
            }
            return true;
        }

        protected void btnSave_Click(object sender, EventArgs e)
        {
            if (WebIsLoad() == false)
            {
                return;
后面还有 66 行代码,购买后查看完整代码

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

AI 解读

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

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