铭轩同学

铭轩,为自己代言!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  .. 常用代码: C Sharp

摘要:/// /// 本地时间转成GMT时间 /// public static string ToGMTString(DateTime dt) { return dt.ToUniversalTime().ToString("r"); ... 阅读全文
posted @ 2015-06-08 13:54 铭轩同学 阅读(897) 评论(0) 推荐(0)

摘要:private string SendRequest(string account, string cardNumber, string cardPass) { string targetUrl = https://xxx.com/;//要提交数据的目标网站 ... 阅读全文
posted @ 2015-03-19 15:20 铭轩同学 阅读(1817) 评论(0) 推荐(0)

摘要:public class RestClient { private string BaseUri; public RestClient(string baseUri) { this.BaseUri = baseUri; ... 阅读全文
posted @ 2015-02-26 17:43 铭轩同学 阅读(1414) 评论(0) 推荐(0)

摘要:using System;using System.Collections.Generic;using System.Text;using System.Data.SqlClient;using System.Web;namespace Common{ public class LogHelp... 阅读全文
posted @ 2014-05-28 16:02 铭轩同学 阅读(491) 评论(0) 推荐(0)

摘要:using System;using System.Collections.Generic;using System.Data;using System.Text;namespace Common{ public class JsonHelper { /// ... 阅读全文
posted @ 2014-05-15 17:38 铭轩同学 阅读(610) 评论(0) 推荐(0)

摘要:using System;using System.Collections;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.SqlClient;using ... 阅读全文
posted @ 2014-05-15 17:37 铭轩同学 阅读(570) 评论(0) 推荐(0)

摘要:/// /// 根据URL 返回HTML/// private List GetHtmlByUrl(string Url){WebClient client = new WebClient();byte[] page = client.DownloadData(Url);string content... 阅读全文
posted @ 2014-04-22 16:53 铭轩同学 阅读(1134) 评论(0) 推荐(0)