varmi={
name:‘小明‘,
birth:1990,
school:‘No.1MiddleSchool‘,//如果有特殊字符要用引号eg:‘school-name‘:‘xxx‘引用时mi[‘school-name‘]
height:1.70,
weight:65,
core:null
};第一种属性获取方法:mi[‘name‘];//‘小明‘
第二种属性获取方法:mi.name;//‘小明‘访问mi的name属性..
分类:
其他好文 时间:
2015-12-23 16:26:12
阅读次数:
176
select s.Id,s.Tel,s.Name,sc.Name schoolName,m.Name majorName,sum(p.P_Price) counterfrom payTrace as p, studentI as s,Major m,School scwhere s.Id=p.P.....
分类:
数据库 时间:
2015-12-22 16:04:12
阅读次数:
165
Bad news! It is said that School of Software is going to be repealed because of low amount of new student. Many people says that TAs always give assig...
分类:
其他好文 时间:
2015-12-21 23:14:51
阅读次数:
249
javascript的对象是一种无序的集合数据类型,它由若干键值对组成。javascript的对象用于描述现实世界中的某个对象。var xiaoming = { name: '小明', birth: 1990, school: 'No.1 Middle School', height: 1....
分类:
编程语言 时间:
2015-12-16 15:39:07
阅读次数:
337
下面列出一些做项目时常用到的一些mysql操作。1.对数据库的操作查看所有的数据库:show databases;新建一个数据库:create database database_name;此时再去查看数据库,就可以看到多出了一个school库要对数据库进行操作时,你就得使用这个:use datab...
分类:
数据库 时间:
2015-12-14 22:58:02
阅读次数:
191
@Scheduled(cron = "0 5 * * * ?")org.springframework.scheduling.annotation.Scheduled/** * Annotation that marks a method to be scheduled. Exactly one o...
分类:
编程语言 时间:
2015-12-14 14:06:57
阅读次数:
300
读取XML节点属性:XmlNode schoolNode = xmldoc.SelectSingleNode("/school");string schoolName = schoolNode.Attributes["name"].Value;一.SelectNodes,SelectSingleNo...
http://www.ituring.com.cn/article/131442https://twitter.github.io/scala_school/zh_cn/collections.html#flatten如果不了解map,flatMap,zip和reduce函数,你就不能真正地谈论sc...
分类:
其他好文 时间:
2015-11-26 13:01:41
阅读次数:
199
http://codeforces.com/problemset/problem/540/BSchool MarksTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeF...
分类:
其他好文 时间:
2015-11-20 17:08:17
阅读次数:
189
C. Vasya and BasketballVasya follows a basketball game and marks the distances from which each team makes a throw. He knows that each successful throw...
分类:
编程语言 时间:
2015-11-19 23:53:14
阅读次数:
306