styleId妙用:在别的jsp可以这样取:document.all.parentCptlTotal.value或:在别的jsp可以这样取:document.all.parentCptlTotal.value
分类:
其他好文 时间:
2014-05-09 17:58:21
阅读次数:
631
mysql -uroot -p 不加封号因为没设密码直接回车俩次进入select user();
查当前用户grant all privileges on *.* to test@"%" identified by ""; 添加一个新用户 mei
mimagrant all pri...
分类:
数据库 时间:
2014-05-09 17:16:50
阅读次数:
374
sql将一个表中的数据插入到另一个表中列名不一定要相同,只要你在HH中列出要插入列的列表跟select
from mm表中的选择的列的列表一一对应就可以了,当然两边的数据类型应该是兼容的。比如:insert into hh
(fielda,fieldb,fieldc) select fieldx.....
分类:
数据库 时间:
2014-05-09 16:49:15
阅读次数:
322
Given a set of non-overlapping intervals,
insert a new interval into the intervals (merge if necessary).You may assume
that the intervals were initial...
分类:
其他好文 时间:
2014-05-09 16:29:17
阅读次数:
330
摘自:http://wang286480403.iteye.com/blog/18824951.触发器定义:触发器是数据库中由一个时间触发的特殊的存储过程,他不是由程序调用也不是手工启动的。触发器的执行可以由对一个表的insert,delete,
update等操作来触发,触发器经常用于加强数据的完...
分类:
数据库 时间:
2014-05-09 12:36:43
阅读次数:
386
1:打开Apache安装目录下httpd.conf,搜索“LoadModule
rewrite_modulemodules/mod_rewrite.so”,找到这一行,去掉前面的“#”;2:找到“AllowOverride
None”改为“AllowOverride All” 有两个地方需要修改3:...
分类:
其他好文 时间:
2014-05-09 12:11:57
阅读次数:
353
对于使用sql server 编写存储过程或者类似的sql
查询的时候我们使用表变量进行临时数据的存储,可以方便我们进行下来的数据处理表变量的使用类似如下:declare @userinfo table(id
nvarchar(50),name nvarchar(50));insert into @...
分类:
数据库 时间:
2014-05-09 11:01:07
阅读次数:
436
返回数据格式:{"total":7,"rows":[ {"id":1,"name":"All
Tasks","begin":"3/4/2010","end":"3/20/2010","progress":60,"iconCls":"icon-ok"}, {"id":2,"name":"Designi...
分类:
其他好文 时间:
2014-05-05 11:02:30
阅读次数:
355
题目:Given an array of strings, return all groups of
strings that are anagrams.Note: All inputs will be in lower-case.class Solution
{public: vector ...
分类:
其他好文 时间:
2014-05-04 20:48:08
阅读次数:
608
1.字母数字自动换行:wcline.wcline {word-break:
break-all;word-wrap: break-word;}2.内容长度自动截取并添加... overflow:
hidden;text-overflow: ellipsis;white-space: nowrap;
分类:
其他好文 时间:
2014-05-04 19:14:15
阅读次数:
302