会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
御风天下
博客园
首页
新随笔
联系
管理
2014年7月24日
一些常用接口
摘要: http://shopcgi.qqmusic.qq.com/fcgi-bin/shopsearch.fcg?value=红玫瑰&artist=陈奕迅&type=qry_song&out=json&page_no=1&page_record_num=10音乐链接:http://stream1locat...
阅读全文
posted @ 2014-07-24 11:01 王者杂货铺
阅读(231)
评论(0)
推荐(0)
2014年5月4日
百度图片
摘要: http://m.baidu.com/img?tn=bdjsonliulan&pu=sz%401320_2001&bd_page_type=1&tag1=%E7%BE%8E%E5%A5%B3&realword=%E7%BE%8E%E5%A5%B3&word=%E7%BE%8E%E5%A5%B3&pn...
阅读全文
posted @ 2014-05-04 16:54 王者杂货铺
阅读(317)
评论(0)
推荐(0)
2014年4月23日
在线人数统计
摘要: /// /// OnLine 的摘要说明/// public class OnLine{ private int OFFLINEDIFF; private int REMOVEDIFF; public OnLine() { ///多少分钟不活动的用户从在线列表中...
阅读全文
posted @ 2014-04-23 14:48 王者杂货铺
阅读(322)
评论(0)
推荐(0)
2014年2月10日
mysql简易导入excel
摘要: 方法-:利用excel本身的命令实现:1将excel文件中的数据转换成sql文件(1)如图所示,我们在excel中执行如下语句=CONCATENATE(“insert into table_name (col1,col2) ('”,A1,”','”B1”');”)其中table_name表示你要插入的表,col1和col2表示插入的列。(2)鼠标点住C1单元格的右下角一直拖拽下去,为所有要执行sql语句的行插入上述公式。(3)复制C列的内容到sql文件中,如下图(4)将sql文件导入到mysql中执行,我们可以采用两种方式。
阅读全文
posted @ 2014-02-10 10:32 王者杂货铺
阅读(268)
评论(0)
推荐(0)
2014年1月20日
asp.net 导出excel带图片
摘要: protected void btgua_Click(object sender, EventArgs e) { DataTable dt = ds.Tables[0]; if (dt != null) { #region 操作excel Microsoft.Office.Interop.Excel.Workbook xlWorkBook; Microsoft.Office.Interop.Excel.Worksheet xlWorkSheet; xlWork...
阅读全文
posted @ 2014-01-20 15:17 王者杂货铺
阅读(1249)
评论(0)
推荐(0)
2014年1月19日
C# 正则验证
摘要: using System;using System.Text.RegularExpressions; namespace SG_VQCDataCollection{ /// /// 通过Framwork类库中的Regex类实现了一些特殊功能数据检查 /// public class MetarnetRegex { private static MetarnetRegex instance = null; public static MetarnetRegex GetInstance() { ...
阅读全文
posted @ 2014-01-19 13:55 王者杂货铺
阅读(762)
评论(0)
推荐(0)
js生成随机数
摘要: var jschars = ['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F','G','H','I','J','K','L','M','N
阅读全文
posted @ 2014-01-19 10:28 王者杂货铺
阅读(175)
评论(0)
推荐(0)
2013年12月31日
YQL获取天气
摘要: $(function () { $.getJSON("http://query.yahooapis.com/v1/public/yql?callback=?", { q: "select * from json where url='http://m.weather.com.cn/data/101210101.html'", format: "json" }, function (data) { if (data.query.results) { ...
阅读全文
posted @ 2013-12-31 16:01 王者杂货铺
阅读(229)
评论(0)
推荐(0)
2013年12月6日
取html里的img和去html标签
摘要: C# : public string RemoveHTML(string html) { html = Regex.Replace(html, @"", "", RegexOptions.IgnoreCase); html = Regex.Replace(html, @"]*)>", "", RegexOptions.IgnoreCase); html = Regex.Replace(html, @"([\r\n])[\s]+", "", RegexOptions.Ig
阅读全文
posted @ 2013-12-06 15:42 王者杂货铺
阅读(377)
评论(0)
推荐(0)
2013年10月12日
客户端信息获得《转》
摘要: 客户端ip:Request.ServerVariables.Get("Remote_Addr").ToString();客户端主机名:Request.ServerVariables.Get("Remote_Host").ToString();客户端浏览器IE:Request.Browser.Browser;客户端浏览器 版本号:Request.Browser.MajorVersion;//客户端操作系统:Request.Browser.Platform;服务器ip:Request.ServerVariables.Get("Local_Addr&
阅读全文
posted @ 2013-10-12 15:30 王者杂货铺
阅读(265)
评论(0)
推荐(0)
下一页
公告