摘要:
mysql链接失败(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)) 修改: 阅读全文
摘要:
直接贴代码: 1 $.extend({ 2 closeBox: function (o, x, fn) { 3 $('#' + o).fadeOut(500, function () { 4 if (fn && typeof (fn) === "fun... 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文
摘要:
// <![CDATA[ function select(selector) { return document.querySelector(selector);} function fn(Type) { var temp = select("#txt1").value; if(Type=='rep 阅读全文
摘要:
更新一下时间倒计时插件(jQUery) 1 $.fn.genTimer = function (e) { 2 function u(e) { 3 var t = Math.floor(e / n), 4 r = Math.floor((e - t * n) / 36e5), 5 i = Math.floor((e - t * n - r * 1e3 * 60 * 60) / 6e4), 6 s = Math.floor((e - t * n - r * 1e3 * 60 * 60 - i * 1e3 * 60) / 1e3); 7... 阅读全文
摘要:
[转]图片: 1 //编码例子 2 System.IO.FileStream fs = System.IO.File.OpenRead("c://1.jpg"); 3 byte[] dt = new byte[fs.Length]; 4 fs.Read(dt, 0, (int)fs.Length); 5 fs.Close(); 6 string s = Convert.ToBase64String(dt); 7 fs = Sys... 阅读全文
摘要:
第一次在博客园发博客,直接上代码 大家都懂得! #region Scv格式文件读取和生成 /// <summary> /// 对读取到的cvs单独一行内容进行处理,去掉Csv格式,返回常规字符串,每项之间用特殊字符“^”隔开 /// </summary> /// <param name="str"></param> /// <returns></returns> private static string DealCode(string str) { string s... 阅读全文