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