From a4d3d1f3f2ef7c0f594b0ed5a3bcd384ecab0e82 Mon Sep 17 00:00:00 2001 From: geh <1923421292@qq.com> Date: Wed, 22 Jul 2026 16:05:43 +0800 Subject: [PATCH] 1 --- SUBQHSE/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SUBQHSE/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs b/SUBQHSE/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs index af91d10..4e342ce 100644 --- a/SUBQHSE/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs +++ b/SUBQHSE/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; +using System.Text.RegularExpressions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; @@ -205,7 +206,8 @@ namespace FineUIPro.Web.ProjectData { string unitId = this.drpUnit.SelectedValue; string unitName = this.drpUnit.SelectedText; - string projectName = this.txtProjectName.Text.Trim(); + string projectName = Regex.Replace(this.txtProjectName.Text, @"\s", ""); + //string projectName = this.txtProjectName.Text.Trim(); //string applyType = this.rblApplyType.SelectedValue; string applyType = "预立项"; string applyDescription = this.txtApplyDescription.Text.Trim();