首页 > 其他 > 详细

点击按钮触发事件调用存储过程2

时间:2019-07-06 16:05:54      阅读:80      评论:0      收藏:0      [点我收藏+]

--注释:App_Code(.cs文档)

using System;
using System.Text.RegularExpressions;
using System.Web;
using System.Configuration;
using System.Web.UI;
using System.Data;
using System.IO;
using System.Web.UI.WebControls;

namespace Coeno.Utility

{

  public static class String

    {

      public static string CleanUpInput(string strInput)

        {

          strInput  =  strInput + " " ;

          strInput  =  strInput.Replace(" [ "" ");

          strInput  =  strInput.Replace(" ] ", " ");

          strInput  =  strInput.Replace(" { ", " ");

          strInput  =  strInput.Replace(" } ", " ");

          strInput  =  strInput.Replace(" ; "" ");

          strInput  =  strInput.Replace(" & ", " ");

          strInput  =  strInput.Replace(" < "" ");

          strInput  =  strInput.Replace(" > "" ");

          strInput  =  strInput.Replace(" ‘ "" ");

          strInput  =  Coeno.Tools.SDBC.ToDBC(strInput);

          --点击按钮触发事件调用存储过程3

          strInput  =  strInput.Trim();

          return strInput;

        }

    }

}

  

 

 

点击按钮触发事件调用存储过程2

原文:https://www.cnblogs.com/ximi07/p/11142837.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!