2008年8月22日 ..:: Blog ::.. 注册  登录
 导航

 打印   
 搜索


 打印   
 博客列表

 打印   
 友情链接

 打印   
 校友录

 打印   
 最新的随笔
小英的作文
-=FengLiN=- 怀旧(一) 由 FengLiN 于 7/1/2006 8:00 AM
星期一到了……小英在交完作业後,中午马上被老师叫去罚站,附加念500遍「我以後不敢编谎话欺骗老师了」。

  why?何这名老师要残忍的对待这名柔弱的小学生?我们来瞧瞧她的作文是怎麽写的……

━━━━━━━━━━━━━━━━━━━━━
星期日

  今天是礼拜日,虽然昨天去海洋公园玩到晚上11:00多,可是今天我们起了个大早,就到海洋公园旁边的太平山去摘水果,因为奶奶跟爷爷就住在太平山。

  我们到了太平山下後,就鞋子脱了开始爬山,大约1分钟就到山顶了。山顶上的空气很好,爷爷带我们去他的果园
.


  哇……爷爷的果园好大,种了好多果树,有西瓜树、草莓树、菠萝树……因为我太小了爬不上树,爷爷就爬上西瓜树,摘了一颗最大的西瓜丢给爸爸,爸爸用一只手就接起来了!

  果园还有很多长在地上的水果,像苹果、梨子、椰子等等……爷爷摘了一些椰子,用手把椰子皮剥掉,去籽,然後分给每个人吃。椰子好好吃喔!我吃了20几个。表弟还拿椰子丢我的脸,痛死了!

  吃完了水果大餐,我们到太平山旁边的喜玛拉雅山去玩,听老师说喜玛拉雅山是 世界上最高的山。

  果然老师没有骗我们,我跟表弟爬呀爬,大概爬了2分钟才到山顶,我热死了。

  後来我们还是觉得很热,就到山顶泡温泉。好冰凉的温泉哦~喜玛拉雅山真是个好地方。

  後来表弟问我有没有钱,他看到山顶附近有卖麦当劳。死表弟,每次都跟我借钱!

  我们还在买的时候,听到妈妈在太平山那里喊我们回家,只好依依不舍的走了太平山跟喜玛拉雅山真是个好玩的地方,我以後还要叫爸爸、妈妈带我们来玩。

  爸爸说如果这次考试,我第一名,这个星期日,他还要带我去东京、北京、南京去玩,我最想去西京,因为我表妹就住在西京。

  她说其实课本是骗人的,西京有比喜玛拉雅山更高的山,大概要爬3分钟,上面还 ...
评论 (0) 详情...

中国球迷为荷兰队跳楼自杀, 值吗?
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/28/2006 8:00 AM
据京华时报报道,6月26日5时左右,一名30多岁的男子从宝鸡市文化路某宾馆7层楼顶坠下身亡。据宾馆服务员介绍,此人喜欢荷兰队,可能是受不了荷兰队出局而选择跳楼自杀。
民警从其身上发现一个小纸条,上写着:“我是东北人,球迷,很失望,决定自杀,和任何人无关。如果可能的话,我愿捐献器官,我没钱,是孤儿,不要救我……”

据统计世界杯期间死亡的球迷人数最多的国家竟然是中国,已经有9名中国球迷为世界杯身亡。

不知道中国被淘汰的时候, 有多少,还是有没有人为了中国队自杀?
评论 (0)

DotA Allstars v6.33 AI 下载
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/26/2006 8:00 AM
最新的Dota AI 版本。做的还算差强人意吧。不过还是比不上6.27。感兴趣的可以点击这里下载。
评论 (3)

How To: show DataGrid Header in footer(ASP.NET)
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/15/2006 8:00 AM
The customer may has this kind requirment, they want to see DataGrid Header in footer, The reason is when they scroll down, they can not see the column header. Here is a solution to use JavaScript to  dynamic add a row to the DataGrid when the total number of rows exceed a certain number( for example 10).
Html Code:
.
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="TestWeb.WebForm1" %>
评论 (0) 详情...

让人喷饭的黑吃黑:移动老总的酒店艳遇
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/14/2006 8:00 AM
话说珍珠台风即将登陆,险要地区居民须执行敦刻尔克撤退计划。为了保障自身以及全家的生命财产安全,移动老总提前打飞的来到了某大型城市,寻求临时住所。 这座城市虽大,酒店却只有两个。老总迫不得已,随便挑了一家就要入住。大堂经理拿出厚厚一本协议书说:“先生,根据规定,客人必须同意并与酒店签订这个协议,才可以享受我们尊贵的服务。”
老总心里来气:“这不是跟我们的招数一样?”随口就问:“那是不是还要选房费,占房费,预付费?”

大堂经理像遇见了知音:“您真聪明,的确如此,不过您还忘了猫眼服务费。”

“什么叫做猫眼
.
服务费?”

“有客人来访,你可以通过猫眼看到对方是谁,这项功能是要收费的。”大堂经理笑容可掬。

“*!”移动老总暗骂了一句,“这也太黑了吧。”不过,骂归骂,酒店还是要住的,背后是气势汹汹的珍珠台风,老婆孩子也已经累得脸色发绿,堂堂老总,也不能在这富丽堂皇的酒店里面狼狈不堪。

交了预付款,选择了半月居住套餐,拿了房门钥匙,总算暂时安稳下来。一家人正收拾行李,咣咣有人敲门。老总打开门一看,只见一位喷火妙龄少女站在门口,用柔媚撩人的音调问:“先生,需要人陪吗?”老总脸一板:“不需要。”直接关了门,回头一看,老婆正捂着孩子的眼睛,假装做游戏。

没过多久,又有人敲门。老婆叮嘱说:“不是交了猫眼服务费吗?先看清楚是谁。”

老总透过猫眼望过去,却什么人也没看见。正犯迷糊,敲门声又起。老总猛然把门拉开,门口一名秃头中年不慌不忙的说:“恭喜您,您的房间号码中奖了,只要您交付100元个人所得税,就可以获得万元大奖,详情请咨询528房。”

老总毫不犹豫的将秃头中年打发掉,正打算继续收拾行李,房间里的电话响。老总拿起电话,性感的声音传来:“你在干嘛呢?我一个人在房间里好无聊 ...
评论 (1) 详情...

Convert a TextBox to Uppercase
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/14/2006 8:00 AM
Here is a very simple example to show how to set a textbox auto convert the input to uppercase(using TEXT-TRANSFORM).
<html>
    
<body>
        
<input type="text" style="TEXT-TRANSFORM: uppercase">
    
body>
评论 (0) 详情...

HOW TO: Prevent Caching of web forms by the browser
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/14/2006 8:00 AM
Introduction
"How can I prevent caching of my web form pages by the browser so that when user clicks on the Back button of the browser he gets the latest output from the server and not the cached one."

Solution
When you request a web form, ASP.NET processes it on the server and returns it back to the browser. Browsers generally keep cache of web pages they visit to improve performance and reduce network hits. That means when you navigate from one page to another and use Back button of the browser, you are given
.
copy of the web form the browser cache and not from the server. Though this behavior is fine for most of the case in some you need to prevent browser from such caching. For example, you are developing a payment processing page where user enters credit card number and other details. Once the form is submitted it should not be cached on the client side. Pressing Back ...
评论 (0) 详情...

写在世界杯澳大利亚3-1日本之后.
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/13/2006 8:00 AM
昨天澳大利亚3-1赢了小日本, 结果就有帮SB在各处发贴,叫好, 说解气. 虽说我对小日本一点好感也没有,可是还是要说Y们SB, 毕竟人家能打入世界杯, 可是你呢? 在国内各种假球, 出了国各种连败, 中国的脸都被Y们丢尽了. 连冲出亚洲的机会也没有, 还凭什么笑话人家呢!
评论 (1)

Modifying Web.config file programmatically(ASP.NET 2.0)
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/12/2006 8:00 AM
Introduction
ASP.NET
1.x allowed developers to modify web.config file by hands. However, there was no way to modify the configuration file programmatically. At times this proved to be a limitation and developers used some tweaks to achieve this. Thankfully ASP.NET 2.0 has come up with a neat way of accessing (reading and writing) the web.config file via code. This article is going to demonstrate an example of how this is done.

Classes and namespaces
The System.Configuration and System.Web.Configuration namespaces provide necessary classes to manipulate web.config. For each web.config section there is corresponding class in either
.
System.Configuration or System.Web.Configuration namespace.

You can open the web.config for modification using WebConfigurationManager class. Then you get hold of the section to be modified using Configuration class. Finally, wh ...
评论 (0) 详情...

Storing Session State in SQL Server
-=FengLiN=- 怀旧(一) 由 FengLiN 于 6/12/2006 8:00 AM
Typically we used in process sessions to store our variables. ASP.NET provides following options for storing session states :
1. InProc
2. State Server
3. SQL Server
InProc sessions denote the sessions that we are familiar with in traditional ASP. State server is a machine whose memory is used to store just the state of the session from some other machine. We can also use SQL server as session state store. The later options are more suitable if you are developing web farm kind of applications. In this article we will take a look at storing the session state in a
.
SQL server database.
Steps
1. Locate and run InstallSqlState.sql file found in WINNT\Microsoft.NET folder e.g. on my test machine it is located in C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ folder. This file is ...
评论 (0) 详情...


 打印   
 推荐

 打印   
 存档

 打印   
 支持我们

 打印   
Copyright 2008 by 三片叶   服务条款  隐私声明