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






逢场作戏~

 
 

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

2017年6月12日

SQL语句笔录
摘要: SQL语句查找每一位员工,每一天打卡的次数,并按照日期排序 每天打卡两次的员工才算正常,查找出有异常的员工 执行一条删除语句,当名称列名有相同时,只保留ID值最小的行 同一访问时间里的记录条数大于5的IP地址插入另一表中 四张表关联,取每个考核项目全三名的员工信息 阅读全文
posted @ 2017-06-12 11:53 逢场作戏~ 阅读(171) 评论(0) 推荐(0)
 
C#实现简单的搜索高亮
摘要: /// /// 搜索高亮 /// /// inputText /// 搜索的关键字 protected string HighlightText(string inputText, string searchWord) { System.Text.Regul... 阅读全文
posted @ 2017-06-12 11:33 逢场作戏~ 阅读(616) 评论(0) 推荐(0)
 
C#对二维码的生成与解析
摘要: 需引用ThoughtWorks.QRCode.dll文件 阅读全文
posted @ 2017-06-12 11:29 逢场作戏~ 阅读(821) 评论(0) 推荐(0)
 
获取当前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 逢场作戏~ 阅读(131) 评论(0) 推荐(0)
 
一般处理程序指定方法调用
摘要: public void ProcessRequest(HttpContext context) { context.Response.Cache.SetCacheability(HttpCacheability.NoCache); context.Response.ContentType = "text/json"; context.Res... 阅读全文
posted @ 2017-06-12 10:18 逢场作戏~ 阅读(193) 评论(0) 推荐(0)
 
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 逢场作戏~ 阅读(1266) 评论(0) 推荐(0)
 
C# 实现SQL Server数据库的基本操作
该文被密码保护。 阅读全文
posted @ 2017-06-12 10:12 逢场作戏~ 阅读(6) 评论(0) 推荐(0)