会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
隐藏鼓励码
初入博客园 从此开启代码之路
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2017年10月27日
input placeholder样式
摘要: ```css input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color:red; } input:-moz-placeholder, textarea:-moz-placeholder { color:red; } ```
阅读全文
posted @ 2017-10-27 10:33 学着用
阅读(161)
评论(0)
推荐(0)
编辑
HttpHelper.cs
摘要: ```c# using System; using System.IO; using System.IO.Compression; using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text...
阅读全文
posted @ 2017-10-27 10:28 学着用
阅读(778)
评论(0)
推荐(0)
编辑
MD5
摘要: 生成MD5 c private string CreateMD5(string code) { MD5 md5 = new MD5CryptoServiceProvider(); byte[] result = md5.ComputeHash(Encoding.UTF8.GetBytes(code)
阅读全文
posted @ 2017-10-27 10:23 学着用
阅读(115)
评论(0)
推荐(0)
编辑
时间戳 日期 转换
摘要: 时间戳转日期 日期转时间戳
阅读全文
posted @ 2017-10-27 10:20 学着用
阅读(405)
评论(0)
推荐(0)
编辑
后台模拟请求 HttpHelper 序列化 MD5 时间戳
摘要: 使用场景 C 服务器后台调用其他服务器并处理 场景 知识点 "序列化" "时间戳" "MD5" "HttpHelper"
阅读全文
posted @ 2017-10-27 10:09 学着用
阅读(261)
评论(0)
推荐(0)
编辑
Json序列化、反序列化
摘要: 引用 using Newtonsoft.Json; using Newtonsoft.Json.Converters; 把Json字符串反序列化为对象 把目标对象序列化为Json字符串
阅读全文
posted @ 2017-10-27 09:54 学着用
阅读(250)
评论(0)
推荐(0)
编辑
byte[] Base64 Stream 之间相互转换
摘要: 图片 base64转byte[] Stream转byte[] byte[]转base64 base64转byte[] file转base64
阅读全文
posted @ 2017-10-27 09:38 学着用
阅读(8063)
评论(0)
推荐(0)
编辑
SQL Server 批量插入
摘要: 使用场景 在项目中,涉及到数据库表变更时,可能会需要将一个或多个表中的数据迁移到另一个表中。 这时用sql去执行会很方便! sql语句 sql //SQL批量插入 create table ttableName(id int identity(1,1),customerid int,grade in
阅读全文
posted @ 2017-10-27 08:59 学着用
阅读(360)
评论(1)
推荐(0)
编辑
公告