博客园站长
这是人类成长进步中记录的每一时刻
摘要: $(".ck").css('cursor', 'pointer');手型 阅读全文
posted @ 2012-04-06 11:00 dm3344 阅读(270) 评论(0) 推荐(0)
摘要: PowerDesigner常用功能:1:把SQL脚步导入PowerDesigner打开powerdesigner,选择File --> Reverse Engineer --> Database……Model name随便写,我填的是wpblog,DBMS选MySQL 5.0然后确定在Selection选项卡中选:Using scripts files:添加刚才的导出的sql脚本(wpblog.sql)Options选项卡中的File Encoding 选择:UTF8+QuickDetect然后确定,一切OK2:PowerDesigner 连接oracle表与数据库中的表导入到Po 阅读全文
posted @ 2012-04-01 09:50 dm3344 阅读(4267) 评论(0) 推荐(0)
摘要: //图片路径 String oldPath = Server.MapPath("hh.jpg");//新图片路径 String newPath = System.IO.Path.GetExtension(oldPath);//设置截取的坐标和大小 int x = 0, y = 20, width = 200, height = 100;//计算新的文件名,在旧文件名后加_new newPath = oldPath.Substring(0, oldPath.Length - newPath.Length) + "_new" + newPath; Respo 阅读全文
posted @ 2012-04-01 09:42 dm3344 阅读(4026) 评论(0) 推荐(0)
摘要: function formatNum(strNum) {if (strNum.length <= 3) {return strNum;}if (!/^(\+|-)?(\d+)(\.\d+)?$/.test(strNum)) {return strNum;}var a = RegExp.$1, b = RegExp.$2, c = RegExp.$3;var re = new RegExp();re.compile("(\\d)(\\d{3})(,|$)");while (re.test(b)) {b = b.replace(re, "$1,$2$3" 阅读全文
posted @ 2012-03-31 15:28 dm3344 阅读(3073) 评论(0) 推荐(0)
摘要: <head runat="server"> <title></title> <script src="jquery-1.4.4.js" type="text/javascript"></script> <script src="jquery.sparkline.min.js" type="text/javascript"></script> <script type="text/javascrip 阅读全文
posted @ 2012-03-31 14:06 dm3344 阅读(1755) 评论(0) 推荐(0)
摘要: 获取上个月起的前6个月where dim_month between to_date(to_char(add_months(sysdate,-6),'YYYYMM'),'YYYYMM') and to_date(to_char(add_months(sysdate,-1),'YYYYMM'),'YYYYMM') 阅读全文
posted @ 2012-03-30 11:29 dm3344 阅读(3120) 评论(0) 推荐(0)
摘要: alert($("[id='root']", xmlObj).children().eq(0).children().eq(0).children().eq(0).attr("name")); 阅读全文
posted @ 2012-03-27 14:52 dm3344 阅读(267) 评论(0) 推荐(0)
摘要: <root><abc id=1 value=a/><abc id=2 value=b /></root>// 将xml字符串转化为xml对象 String.prototype.toXmlObject = function () { var xmlObj; if (window.DOMParser) { parser = new DOMParser(); xmlObj = parser.parseFromString(this, "text/xml"); } else { // Internet Explorer xmlObj 阅读全文
posted @ 2012-03-21 15:51 dm3344 阅读(200) 评论(0) 推荐(0)
摘要: xml.SelectSingleNode("root//user").Attributes["uid"].Value.LengthxmlPath路径语法http://www.w3school.com.cn/xpath/xpath_syntax.asp 阅读全文
posted @ 2012-03-21 15:49 dm3344 阅读(258) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?><mstr:MstrApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:mstr="http://web.microstrategy.com/visframe 阅读全文
posted @ 2012-03-19 16:16 dm3344 阅读(257) 评论(0) 推荐(0)