2008年5月12日
摘要: #region 删除所有HTML标签 /// /// 删除所有HTML标签 /// /// /// public static string NoHTML(string Htmlstring) { //删除脚本 Htmlstr... 阅读全文
posted @ 2008-05-12 11:13 ︷起↘嚸. 阅读(315) 评论(0) 推荐(0)
摘要: /// /// 过滤非法字符 /// /// 等待处理的字符串 /// public static string ClearRequest(object inputString1) { if (inputString1 == null) return ""; ... 阅读全文
posted @ 2008-05-12 11:12 ︷起↘嚸. 阅读(527) 评论(1) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#region加密解密///<summary>///加密///</summary>///<paramname="Text">加密字符串</param>/... 阅读全文
posted @ 2008-05-12 11:11 ︷起↘嚸. 阅读(230) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///获取当前域名///</summary>///<returns></returns>publicstaticstringGe... 阅读全文
posted @ 2008-05-12 11:11 ︷起↘嚸. 阅读(346) 评论(0) 推荐(0)
摘要: /// <summary> /// 用户是否登录 /// </summary> public static bool UserIsLogin { get { if (HttpContext.Current.Session["B2CRegUserName"] == null) return false; return true; } } /// <summary>... 阅读全文
posted @ 2008-05-12 11:10 ︷起↘嚸. 阅读(339) 评论(0) 推荐(0)
摘要: /// <summary> /// 显示消息提示对话框 /// </summary> /// <param name="page">当前页面指针,一般为this</param> /// <param name="msg">提示信息</param> public static void Show(System.Web.UI.Pa... 阅读全文
posted @ 2008-05-12 11:10 ︷起↘嚸. 阅读(264) 评论(0) 推荐(0)
摘要: /// <summary> /// 序列化对象 /// </summary> /// <param name="obj"></param> /// <returns></returns> public static string SerializeObject(Object obj) { IFormatter ifor = n... 阅读全文
posted @ 2008-05-12 11:09 ︷起↘嚸. 阅读(289) 评论(0) 推荐(0)
摘要: #region 参数属性 //排列方式 int m_Type = 0; public int Type { get { return m_Type; } set { m_Type = value; } } //商品类别 int m_ProductClass = -1; public int ProductClass { get { return m_ProductClass; } set { m_... 阅读全文
posted @ 2008-05-12 09:37 ︷起↘嚸. 阅读(304) 评论(0) 推荐(0)