From dc1dcd28e46f988e422a7822aa974c37808ba185 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Wed, 22 Jul 2026 16:05:45 +0800 Subject: [PATCH] 1 --- SGGL/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs b/SGGL/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs index af91d10c..4e342cef 100644 --- a/SGGL/FineUIPro.Web/ProjectData/PreProjectApply.aspx.cs +++ b/SGGL/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();