using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Common
{
/// <summary>
/// 字符串操作類
/// </summary>
public class StringHelper
{
public StringHelper()
{
}
/// <summary>
/// 出錯時彈出提示對話框
/// </summary>
/// <param name="str_Control_Name">檢驗控件id值</param>
/// <param name="str_Form_Name">表單id值</param>
/// <param name="str_Prompt">提示信息</param>
/// <returns>string</returns>
public static string JsIsNull(string str_Control_Name, string str_Form_Name, string str_Prompt)
{
return "<script language="javascript">alert(" + str_Prompt + ");document." + str_Form_Name + "." + str_Control_Name + ".focus(); document." + str_Form_Name + "." + str_Control_Name + ".select();</" + "script>";
}
/// <summary>
///