摘要: --生成guid () 去掉‘-’并转成小写 declare @guid varchar(50) select @guid = NEWID() select len(@guid) select REPLACE(@guid,'-','') select len( REPLACE(@guid,'-','')) 阅读全文
posted @ 2016-07-04 16:49 Pello 阅读(8193) 评论(0) 推荐(0) 编辑
摘要: Markdown? 先看下这个东西: (From https://note.youdao.com/web 有道云笔记) 左边是Markdown,右边是显示文本,是不是跟使用了word的排版工具(或者论坛的)一样呢? 其实就是这么简单,下面给个实际的学习连接吧,总共也就是10来个简单的标记。 用我自己 阅读全文
posted @ 2016-06-27 07:20 Pello 阅读(978) 评论(0) 推荐(0) 编辑
摘要: 1、这是个人的mark档,逼迫自己以后写这样的博客,所以不是分享 2、chartjs是一个图表控件集合,使用html5的canvas进行绘制。 注意:新手请先直接进入官网:http://www.chartjs.org/(一定是要这个,如果是其他的可能会入坑,因为版本问题) 其显示结果为: 这里我先是 阅读全文
posted @ 2016-06-26 04:18 Pello 阅读(22538) 评论(1) 推荐(4) 编辑
摘要: var c = { method:{ say: function (word){ console.log(word); } ,sayHello: function(){ this.say("Hello"); //调用同级数据 记住加上 关键字this } } }还是直接使用 Sublime Text 阅读全文
posted @ 2016-06-20 17:02 Pello 阅读(386) 评论(0) 推荐(0) 编辑
摘要: public string testStatic() { string str = "test"; int hashcode0 = str.GetHashCode(); int hashcode1 = test(str); str += "oooo"; int hashcode2 = str.Get 阅读全文
posted @ 2016-02-17 17:52 Pello 阅读(180) 评论(0) 推荐(0) 编辑
摘要: public class A { public static int Y = 3; //@@@@过程一 /// <summary> /// 静态构造函数,一般在调用静态变量A.Y,这时Y=4 <==>(3+1),或者第一次调用构造方法 如 A a =new A();的时候会执行,且执行一次 /// 阅读全文
posted @ 2016-02-17 17:36 Pello 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 最近寫程序用到lable和checkbox關聯,asp.net里的母板頁里id是會變化的,用label的for很不好用,上w3c看了下還有隱式的關聯方法如圖 阅读全文
posted @ 2011-06-01 11:53 Pello 阅读(185) 评论(0) 推荐(0) 编辑