摘要:
浏览器识别版本方法//使用说明返回的是一个对象{"browser":"[IE]...","version":"11.0"} function identifyBrowser() { var userAgent = navigator.userAgent, rMsie = /(msie\s|tride... 阅读全文
posted @ 2015-05-26 15:45
mysuper
阅读(201)
评论(0)
推荐(0)
摘要:
--post 请求public static string PostMsg(Guid orgid, int page, int rows) { System.Net.WebClient client = new System.Net.WebClient(); string postData = "{... 阅读全文
posted @ 2015-05-26 15:42
mysuper
阅读(247)
评论(0)
推荐(0)
摘要:
/// /// 从流获取缩略图 /// /// private void CreateFavoriteThumb(string filePathWithFileName) { if (Request.InputStream == null || Request.InputStream.Leng... 阅读全文
posted @ 2015-05-26 15:39
mysuper
阅读(199)
评论(0)
推荐(0)
摘要:
public string UploadPhotoUrl(HttpPostedFileBase uploadFile) { MessageResult result = new MessageResult(); string domain = this.TheVisitorInfo.DomainUn... 阅读全文
posted @ 2015-05-26 15:38
mysuper
阅读(167)
评论(0)
推荐(0)
摘要:
System.IO.Stream s = System.Web.HttpContext.Current.Request.InputStream; int count = 0; byte[] buffer = new byte[1024]; StringBuilder builder = new S... 阅读全文
posted @ 2015-05-26 15:35
mysuper
阅读(195)
评论(0)
推荐(0)
摘要:
/// /// 分析 url 字符串中的参数信息 /// /// 输入的 URL /// 输出 URL 的基础部分 /// 输出分析后得到的 (参数名,参数值) 的集合 public static void ParseUrl(string url, out string baseUrl, ou... 阅读全文
posted @ 2015-05-26 15:33
mysuper
阅读(1046)
评论(0)
推荐(1)

浙公网安备 33010602011771号