摘要: http://www.useragentstring.com/pages/api.php 阅读全文
posted @ 2015-06-26 11:23 听浪 阅读(393) 评论(0) 推荐(0) 编辑
摘要: string Imagefilename 硬盘路径protected string ImgToBase64String(string Imagefilename) { try { Bitmap bmp = ne... 阅读全文
posted @ 2015-06-06 13:53 听浪 阅读(236) 评论(0) 推荐(0) 编辑
摘要: private static ImageCodecInfo GetEncoderInfo(String mimeType) { int j; ImageCodecInfo[] encoders; enco... 阅读全文
posted @ 2015-06-06 13:52 听浪 阅读(5772) 评论(0) 推荐(1) 编辑
摘要: string url URL地址string path 保存到硬盘的具体路径WebClient wc = new WebClient(); wc.DownloadFile(new Uri(url.ToString()), path); 阅读全文
posted @ 2015-06-06 13:50 听浪 阅读(376) 评论(1) 推荐(0) 编辑
摘要: 文件扩展名Content-Type(Mime-Type)文件扩展名Content-Type(Mime-Type).*(二进制流)application/octet-stream.tifimage/tiff.001application/x-001.301application/x-301.323te... 阅读全文
posted @ 2015-05-05 09:50 听浪 阅读(259) 评论(0) 推荐(0) 编辑
摘要: select b.name as tablename , --表名a.rowcnt as datacount, --条数rtrim(8*a.dpages) as size --占用空间单位KBfrom sysindexes a ,sysobjects bwhere a.id = b.idand a... 阅读全文
posted @ 2015-02-04 11:36 听浪 阅读(190) 评论(0) 推荐(0) 编辑
摘要: /****** Object: Table [dbo].[Sweepstakes] Script Date: 12/15/2014 08:50:41 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOCREATE TABLE [dbo].... 阅读全文
posted @ 2014-12-15 08:53 听浪 阅读(306) 评论(0) 推荐(0) 编辑
摘要: public void onClick(View v) { new Thread(new Runnable() { public void run() { final Bitmap bitmap = loadImageFromNetwork("http://... 阅读全文
posted @ 2014-12-10 11:37 听浪 阅读(168) 评论(0) 推荐(0) 编辑