会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
winnie.小黑
不合格程序员
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2016年4月14日
json时间格式化
摘要: 转自张占龄
阅读全文
posted @ 2016-04-14 09:41 SSS.M.AAA
阅读(264)
评论(0)
推荐(0)
2016年1月9日
文件下载
摘要: 1 2 //下载文件 3 public void DownLoad(string url){ 4 url=ConvertServerPath(url); 6 string filePath =Server.Ma...
阅读全文
posted @ 2016-01-09 13:55 SSS.M.AAA
阅读(237)
评论(0)
推荐(0)
2015年9月7日
下载Excel
摘要: public class downCST : IHttpHandler, System.Web.SessionState.IRequiresSessionState{ public void ProcessRequest(HttpContext context) { con...
阅读全文
posted @ 2015-09-07 17:12 SSS.M.AAA
阅读(323)
评论(0)
推荐(0)
2015年9月2日
弹出框插件集合
摘要: sweetalert:http://t4t5.github.io/sweetalert/ 提示bootStrap: class="modal-dialog" 表单bootbox: http://bootboxjs.com/documentation.htmljnotify: 小提示框
阅读全文
posted @ 2015-09-02 09:57 SSS.M.AAA
阅读(134)
评论(0)
推荐(0)
2014年7月28日
Sha1加密
摘要: /// /// Sha1 /// /// /// public static string Sha1(string str) { byte[] strres = Enco...
阅读全文
posted @ 2014-07-28 11:07 SSS.M.AAA
阅读(514)
评论(0)
推荐(0)
MD5 加密
摘要: /// /// Web 转换MD5 /// /// 字符 /// 32或64位 /// public static string MD5(string str, int code) { if (code == 16) { ...
阅读全文
posted @ 2014-07-28 10:40 SSS.M.AAA
阅读(652)
评论(0)
推荐(0)
2014年7月22日
服务端 Sockt 线程
摘要: 1.创建监听线程 /// ///1. 线程监听操作 /// private void ThreadServerListen() { //接收数据线程 Thread ReceiveTh...
阅读全文
posted @ 2014-07-22 11:46 SSS.M.AAA
阅读(289)
评论(0)
推荐(0)
2014年6月10日
Json互转
摘要: /// /// 将 JSON 转为对象 /// /// 将要序列化的对象作为泛型参数 /// JSON 字符串 /// 要序列化的对象 Type /// 返回对象 public static T JsonToObject(string jsonS...
阅读全文
posted @ 2014-06-10 13:58 SSS.M.AAA
阅读(413)
评论(0)
推荐(0)
Http请求响应
摘要: // requestUrl:地址?xx=xx private string GetContentFromUrll(string requestUrl) { string _StrResponse = ""; HttpWebRequest...
阅读全文
posted @ 2014-06-10 12:09 SSS.M.AAA
阅读(271)
评论(0)
推荐(0)
Soket 连接发送与接收
摘要: ///url:地址 data:数据 public static string GetContentFromUrl(string url, string data) { //寻址方案。ip4地址 // 套接字类...
阅读全文
posted @ 2014-06-10 12:02 SSS.M.AAA
阅读(551)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告