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();