HAPPYCODEING LOVESHARING
Copy要看质量,自己感不感兴趣
Paste要能理解,自己能不能掌握
与君共勉
博客园
首页
新随笔
联系
订阅
管理
随笔 - 58 文章 - 14 评论 - 10 trackbacks - 0
<
2008年4月
>
日
一
二
三
四
五
六
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
与我联系
发短消息
搜索
常用链接
我的随笔
我的空间
我的短信
我的评论
更多链接
我的文章
我的参与
我的新闻
最新评论
我的标签
留言簿
给我留言
查看留言
我参加的小组
ASP.NET
每日一句英语
随笔档案
(58)
2008年8月 (1)
2008年6月 (4)
2008年4月 (26)
2008年3月 (1)
2008年2月 (2)
2008年1月 (22)
2007年12月 (2)
文章分类
(11)
ASP.NET(6)
C#
E-Articles(1)
SQL(4)
收藏夹
Watch
Time
最新评论
1. re: APACHE+ASP.NET 出现问题
发现原来不是apache的原因,/joe/后面的那一串字符是sessionid,在web.config中sessionState的cookieless设置为UseUri就回出现这个问题。 这几天都在...
--josephshi
2. re: compiere/adempiere+pgsql8.2+RHEL4+jdk1.5
compiere是不支持postgresql的,只支持postgresql plus AD server。adempiere是支持oracle postgresql的,若在linux下使用postgr...
--yuzifu
3. re: 数据存在就更新,不存在就插入的两种方法
不错,收了,谢啦.加油!
--搜索者
4. re: compiere/adempiere+pgsql8.2+RHEL4+jdk1.5
楼上 不过我觉得奇怪,安装Compiere的时候数据库选择可以选PGSQL,但是无法安装,我怀疑如同Adempiere+PGSQL安装,pljava插件是关键. 我现在把Adempiere+PGS...
--josephshi
5. re: compiere/adempiere+pgsql8.2+RHEL4+jdk1.5
据我了解compiere还不支持 PGSQL, 只能安装adempiere另外在安装时要注意要在PGSQL中添加两个角色postgres, adempiere在windows系统中也要加一个角色pos...
--eric han
阅读排行榜
1. Check if a database or table exists using Sql Server 2005(152)
2. Insert a value into Identity Column(145)
3. 让VS2005加速(132)
4. Highlight a Row in GridView without a postback using ASP.NET and JavaScript(125)
5. Visual Studio 2008 简体中文正式版下载及序列号(无使用期限限制,正式版) (106)
6. 一个SQL HELPER类(100)
7. Copy a table from one database to another in SQL Server 2005(93)
8. ASP.NET Validation Controls – Important Points, Tips and Tricks(90)
9. Read and Write compressed data to a binary file using ASP.NET(88)
10. 使用AJAX DRAGPANEL控件(82)
评论排行榜
1. compiere/adempiere+pgsql8.2+RHEL4+jdk1.5(3)
2. 使用AJAX DRAGPANEL控件(2)
3. Insert a value into Identity Column(1)
4. RSS阅读量大于页面访问量(1)
5. APACHE+ASP.NET 出现问题(1)
6. C# 注册表控制++ Autorun after windows(0)
7. 附图:C# 注册表控制++ Autorun after windows(0)
8. 下个决心,定个计划(0)
9. 发烧后(0)
10. 让VS2005加速(0)
找出闰年
using
System;
using
System.Collections.Generic;
using
System.Text;
namespace
ConsoleApplication1
{
class
Program
{
static
void
Main(
string
[] args)
{
List
<
int
>
leap1
=
new
List
<
int
>
();
List
<
int
>
leap2
=
new
List
<
int
>
();
for
(
int
year
=
1900
;year
<=
9999
;year
++
)
{
if
(year
%
4
==
0
&&
year
%
100
!=
0
)
{
leap1.Add(year);
}
else
if
(year
%
100
==
0
&&
year
%
400
==
0
)
{
leap2.Add(year);
}
}
Console.WriteLine(
"
被4整除的闰年
"
);
foreach
(
int
temp
in
leap1)
{
Console.WriteLine(temp);
}
Console.WriteLine(
"
被400整除的闰年
"
);
foreach
(
int
temp
in
leap2)
{
Console.WriteLine(temp);
}
Console.Read();
}
}
}
posted on 2008-04-10 13:16
josephshi
阅读(21)
评论(0)
编辑
收藏
社区
新闻
新用户注册
刷新评论列表
标题
姓名
主页
Email
(只有博主才能看到)
验证码
*
看不清,换一张
[
登录
][
注册
]
内容(请不要发表任何与政治相关的内容)
Remember Me?
登录
使用高级评论
新用户注册
返回页首
恢复上次提交
[使用Ctrl+Enter键可以直接提交]
相关文章:
检测输入的年份是否为闰年
带日期,时间和闰年验证的正则式
今天是闰年闰月闰日
关于闰年
sql找出同一表中相同记录
JS日期验证,对应闰年等
相关链接:
最新IT新闻:
微软4.86亿美元收购Greenfield
苹果已然取代微软地位成行业众矢之的
Intel 收购 Poky Linux ,为 MID 注入新的动力
雅虎将关闭社交网站Mash
中国互联网战争局势图
博客园新闻频道
博客园首页
社区