• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






逢场作戏~

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  C#/Asp.Net

 
C#实现简单的搜索高亮
摘要:/// /// 搜索高亮 /// /// inputText /// 搜索的关键字 protected string HighlightText(string inputText, string searchWord) { System.Text.Regul... 阅读全文
posted @ 2017-06-12 11:33 逢场作戏~
C#对二维码的生成与解析
摘要:需引用ThoughtWorks.QRCode.dll文件 阅读全文
posted @ 2017-06-12 11:29 逢场作戏~
一般处理程序指定方法调用
摘要:public void ProcessRequest(HttpContext context) { context.Response.Cache.SetCacheability(HttpCacheability.NoCache); context.Response.ContentType = "text/json"; context.Res... 阅读全文
posted @ 2017-06-12 10:18 逢场作戏~
获取当前IP地址
摘要:public string GetUserIP() { string result = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; if (null == result || result == String.Empty) { ... 阅读全文
posted @ 2017-06-12 10:18 逢场作戏~
C#:MD5加密
摘要:using System; using System.Collections.Generic; using System.IO; //添加命名空间或程序集 using System.Linq; using System.Security.Cryptography; //添加命名空间或程序集 using System.Text; using System.Web.Security; //添... 阅读全文
posted @ 2017-06-12 10:17 逢场作戏~ 阅读(1272) 评论(0) 推荐(0)
C# 实现SQL Server数据库的基本操作
该文被密码保护。
posted @ 2017-06-12 10:12 逢场作戏~
ajax调用后台方法(个人项目总结)
摘要:ajax提交到后台方法处理并返回参数:可分为带参数和不带参数 带参数提交(GIS搜索定位): 不带参数以及更加详细的介绍,参照http://blog.csdn.net/lishehe/article/details/13914959 阅读全文
posted @ 2017-05-30 11:29 逢场作戏~