var seg = UserName; if (File.Exists(UserName + ".xml"))//c { string Name = "NotRemindBox"; XmlDocument xdocs = new XmlDocument(); xdocs.Load(UserN...
分类:
其他好文 时间:
2014-08-27 18:17:48
阅读次数:
171
--建库if exists(select * from sysdatabases where name = 'stuDB')drop database stuDBCreate database stuDBon primary( name = 'stuDB', filename = 'E:\work\...
分类:
数据库 时间:
2014-08-27 18:00:58
阅读次数:
340
判断list非空 <#if?users?exists?&&?users?size?>?0?>
????<#list?users?as?u>
????????${u.username}-----${u.password}
????</#list>
</#if> 判断对象非空 <#if?user??>
????use...
分类:
其他好文 时间:
2014-08-27 13:13:58
阅读次数:
464
if (File.Exists(xmlPath + "\\" + xmlName)) //判断文件是否寸在 { //存在的情况下 XmlDocument xmldoc = new XmlDocument(); xmldoc.Load(xmlPath + "\\" + xmlName); /...
分类:
其他好文 时间:
2014-08-27 12:29:17
阅读次数:
214
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:
其他好文 时间:
2014-08-26 19:09:06
阅读次数:
153
//数据库引擎,编码,字符校验码,备注create table if not exists t_basic_job ( name varchar(20) not null default '')engine=innodb DEFAULT CHARSET=utf8 collate=utf8_...
分类:
数据库 时间:
2014-08-26 19:05:36
阅读次数:
250
Several ports (8005, 80, 8009) required by Tomcat v6.0 Server at localhost are already in use
分类:
其他好文 时间:
2014-08-26 17:06:36
阅读次数:
263
SELECT TOP 1000 [ID] ,[ParentID] ,[Name] ,[Content] ,HasChildren = ISNULL((SELECT 1 WHERE EXISTS(SELECT TOP 1 1 FROM t_Tree WHERE...
分类:
其他好文 时间:
2014-08-26 15:08:26
阅读次数:
192
1 DELIMITER $$ 2 3 DROP PROCEDURE IF EXISTS `jdbc`.`addUser` $$ 4 CREATE PROCEDURE `jdbc`.`addUser` (in pname varchar(45),in birthday date,in money .....
分类:
数据库 时间:
2014-08-26 01:43:55
阅读次数:
364
对于以下存储过程,表结构如下:-- ------------------------------ Table structure for person-- ----------------------------DROP TABLE IF EXISTS `person`;CREATE TABLE.....
分类:
其他好文 时间:
2014-08-25 22:31:54
阅读次数:
287