2008-01-28
HEALTH Important notice.
Subject: FW: HEALTH Important notice
少喝奶茶;
Reduce volume of tea;
不吃 刚烤的面包;
Do not eat bread which JUST toasted;
远离充 手机电源 ;
Get a distance from charger;
白天多喝水,晚上少喝;
Drink more water at the morning, less in the night;
一天 不喝多于两杯咖啡;
Do not drink coffee twice a day;
少吃油多的食物;
Reduce volume of oily food;
最佳睡眠为晚上十点至凌晨六点;
Best sleeping time is from 10 at night to 6 at the morning;
晚上五点后少吃大餐;
Do not have HUGE meals after 5pm;
每天喝酒不多过一杯;
Do not take alcohol more than a cup daily;
不用 冷水服胶囊;
Do not take capsule with cool water;
睡前半小时服药忌立刻躺下;
Do not lie down immediately after taking medicine before sleeping;
睡眠不足八小时人会变笨;
8 hours lack of sleep will make a person stupid;
有午睡习惯的人不易老;
People who get used of napping will not get old easily;
若不能晨跑,傍晚5点至8 点的时间是散步的好时间;
If you can't get on early morning runs, 5-8 at the afternoon is a great time for jogging;
电池剩一格时不要 接电话 ,剩一格时辐射是平时的一千倍 ;
When battery left last grid, do not answer the phone. The radiation is 1000 times;
还要记得用左耳接话 ,用右耳会直接伤害到大脑;
Answer the phone by left ear. It'll spoil your brain directly by using right ear;
少用耳机。用一小时后就好休息你的耳朵;
Do not use earphone for long time. Rest your ear awhile after 1 hour.
请转发 每一 你珍惜的朋友.
Forward this to friends who you care.
2008-01-22
load data into CrystalReport by generated TableAdapter.Fill() DataTable
Me.taCustomers.Fill(c)
Me.crtAllCustomer.SetDataSource(c)
Me.crvCustomers.ReportSource = Me.crtAllCustomer
Me.crvCustomers.DisplayGroupTree = False
Me.crvCustomers.Zoom(70)
2008-01-16
2008-01-13
养生的 12 把金锁匙!
養生~12把金鑰匙...
抗老專家
王衛民教授的12把金鑰匙
第 1 把KEY 晨起一杯水,身體水平衡 WATER
第 2 把KEY 右側臥、睡如弓,睡眠品質好 SLEEP
第 3 把KEY 只吃七分飽,身體自然好 APPETITE
第 4 把KEY 生命在運動中蓬勃 EXERCISE
第 5 把KEY 音樂舒暢身心,讀書增加智慧 MUSIC/LITERATURE
第 6 把KEY 常吃豆,可長壽 BEANS
第 7 把KEY 跟菸、酒說再見 VICES
第 8 把KEY 愛與性完美和諧 LOVE/S EX
第 9 把KEY 擺脫孤獨寂寞就健康 LONELINESS
第10 把KEY 勤用腦,防衰老 MIND
第11 把KEY 多喝茶,可減肥、防癌、保青春 TEA
第12 把KEY 用笑容面對人生 SMILE
伸懶腰養生
人在疲倦時,伸個懶腰是挺舒服的。尤其是對伏案工作的人來說
不能喝的五種開水
下列五種開水不宜飲用:
●在爐灶上沸騰了很長時間,飲用水已經是溫吞水。
●裝在熱水瓶裡已好幾天,成了不新鮮的溫開水。
●經過多次反覆煮沸的殘留開水。
●開水鍋爐中隔夜重煮和未重煮的開水。
●蒸飯、蒸肉後的「下腳水」。
這幾種開水不適宜飲用的原因,簡單地說,反覆沸過的開水中,所含的鈣、鎂、氯、重金屬等微量成分增高了
不要過量地食用水果
日本京都大學醫學部滕田一郎教授指出,過量地食用水果
對此,美國科學家也得出同樣的結論。
他們還認為,吃水果根據不同季節和不同病症加以選擇。
如秋、冬季,天氣乾燥,應選擇有利尿解熱作用的雪梨或有潤腸作用的
不要過量地吃雞蛋
雞蛋富含營養物質,是一種男女老少咸宜的滋補品。雞蛋的吃法很多
不要忘記吃飯前先喝一碗湯
人們已發現,在吃飯前,先喝點熱湯,對控制體重的增加是有好處的
一般說來,吃飯快的人,容易發胖。這是因為大腦的食慾中樞接受「已吃飽」的信號需要一定的時間
不要以為喝水沒有最佳時間
一般說來,我們平均每天最少要喝1500㏄水。除了患有特殊疾病(例如心臟機能或腎臟機能不足)的人之外,我們喝的水一般都顯得不夠,特別是家裡或工作場所太暖或
不要以為早餐吃得飽就行了
有人說:「早餐吃得飽,午餐吃得好,晚餐吃得少」,認為
美國芝加哥大學的研究表明,吃完高蛋白的早飯以後,血糖在15分鐘內由空腹時的70~80毫克,升到140~150毫克(正常血糖水平在80~120毫克之間)。值得一提的是,賦予我們生命活力的能量來源,就是正常或高於正常
別以為淋浴的功能僅在於衛生
淋浴對人體有利,因為噴水的蓮蓬頭事一個很好的陰離子發生器。當蓮蓬頭噴射細水流時,會在空氣中產生大量的陰離子
不要將開水燒了又燒
有的家庭為了節省燃料,常將溫開水再燒開,這是不符合飲水衛生的
喝水養生法
近年來,日本學者對晨起喝一杯涼開水(即把一杯普通的水燒開後
葡萄酒的妙用
1. 適量飲用葡萄酒可減少心臟病猝發的危險性,也能調養心血管系統疾病
2. 白葡萄酒味甜略帶酸味,飲後刺激胃液、膽汁分泌,善解油腥
3. 葡萄酒除含有糖分、氨基酸外,尚含豐富的維生素B12、B1、B2及維生素C,故對貧血有一定療效。
4. 葡萄酒還能治療流行性感冒,服用方法,每次取紅葡萄酒30-90克,稍加溫服之。每天2-3次。
茶可防治高血壓
茶葉中的兒茶素和維生素C和P,有增強血管的柔嫩性、降低血中膽固醇、防止脂肪在肝臟積累和防治
飲用法:一般每次用綠茶1-2克,乾山楂片5克,泡茶喝,每天1-2次,經常服用。
不要長時間地煮沸咖啡
人們喜愛喝咖啡,是因為它味道芳香可口,並能使神精系統興奮。
為了使其香味不變,咖啡不宜長時間地煮沸。這是因為蒸汽泡會攜帶部
別忘記看完電視後再次洗臉
電視機開啟後,機內電子流對螢光屏不斷轟擊,螢光屏表面會產生靜電
不要老是乘車不走路
日本科學家發現一個有趣定律,糖尿病發病率隨著小汽車數量的增加而
2008-01-11
下次感冒初起, 不妨试试 !
下次感冒初起, 不妨試試 !
可以很快使感冒或頭痛不再繼續惡化!
友人轉寄,說 得蠻有道理的,提供參考!
如果你感覺到已經開始流鼻水、連續打噴嚏、有點頭痛
等三、五分鐘,再沖一杯咖啡,任何咖啡都可以,三合一的最方便了
可以,一定要熱的喝才有效 ( 不可冰)。
二、三十分鐘以後,咖啡和先前喝的開水會讓你要尿尿,而且,很神 奇的,流鼻水、打噴嚏、頭痛都慢慢不見了!
想 知道為什麼這麼好用?
一、咖啡可以讓你加速排 尿,加上先喝的開水,可以把已經侵入繁殖的病毒,從身體裡「洗
二、咖啡有提神、興奮的作用,會讓你低迷不振的免疫 功能提振起來,病毒從尿尿排掉了一部分,免疫功能又加強了
2008-01-04
他人的故事 原创心情 有他哪有我。。。
http://tataface1975.spaces.live.com/music/
Date found: 2008-01-04 12am
Song: Jacqueline's Tear
Instrument: Cello
2007-12-31
2007-12-27
Using Transactions.TransactionScope
Searched by: TransactionScope imports
Source from: http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework.adonet/topic59025.aspx
"Namespace or type specified in the imports 'System.Transactions' doesn't contain any public member or cannot be found. Make sure then namespace... etc."
When I visit the properties of the project and check the available references I can't find it there either. Do I have to do something extra before using that Namespace?
If you are using Visual Studio 2005 Standard Editon & above do the following
Right click on the project
Add Reference
you'll definitely see reference System.Transaction under .NET references in
the references tab.
MSDTC on server is unavailable.
Searched by: MSDTC on server is unavailable
Source from: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=54705
[*]
On the server where the trigger resides, you need to turn the MSDTC service on. You can this by clicking START > SETTINGS > CONTROL PANEL > ADMINISTRATIVE TOOLS > SERVICES. Find the service called 'Distributed Transaction Coordinator' and RIGHT CLICK (on it and select) > Start.
Test the trigger and see if it works. If it still does not work, wrap you trigger in the following transaction code (found below in bold):
SET XACT_ABORT ON
BEGIN DISTRIBUTED TRANSACTION
-- Put all queries in here (SELECT, INSERT, UPDATE, and DELETE)
select * from [SERVER2].[DBASE].[OWNER].[TABLENAME]
update [SERVER2].[DBASE].[OWNER].[TABLENAME]
set [column] = value
where [condition(s)]
COMMIT TRANSACTION
SET XACT_ABORT OFF
This solution solved our problems, I hope they solve yours.
We ran into the following errors, and the above fixed them:
1. MSDTC on server is unavailable. [fixed this error by started the service above [*] ]
2. Server: Msg 7395, Level 16, State 2, Procedure name, Line 26
Unable to start a nested transaction for OLE DB provider 'SQLOLEDB'. A nested transaction was required because the XACT_ABORT option was set to OFF.
[OLE/DB provider returned message: Cannot start more transactions on this session.]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionLocal::StartTransaction returned 0x8004d013: ISOLEVEL=4096].
2007-12-20
2007-12-19
DateTimePicker vb.net 2005 bindingsource
- DateTimePicker.value = DateTime.Now().ToString("yyyy-MM-dd dddd hh:mm:ss tt")
- DateTimePicker.value = Format(Now, "yyyy-MM-dd dddd hh:mm:ss tt")
fixed by: assign value within form_load body.
2007-12-11
sql server functions
SQL Server 2000
There are three types of UDF in Microsoft SQL Server 2000:
- Scalar functions.
- Inline table-valued functions.
- Multistatement table-valued functions.
Scalar functions return a single data value (not a table) with RETURNS clause. Scalar functions can use all scalar data types, with exception of timestamp and user-defined data types. Inline table-valued functions return the result set of a single SELECT statement. Multistatement table-valued functions return a table, which was built with many TRANSACT-SQL statements.
User-defined functions can be invoked from a query like built-in functions such as OBJECT_ID, LEN, DATEDIFF, or can be executed through an EXECUTE statement like stored procedures.
2007-12-10
The Structure of Stored Procedures
(from SQL SERVER 2000 Stored Procedure Programming)
We will pause aminute to explain the structure of a stored procedure.
A stored procedure encapsulates a relatively simple Select statement for later use.
It returns a recordset containing values from the Selected column.
The recordset will contain only records that matched with the WHERE statement.
The code of a stored procedure consists of a header and a body.
The header of the stored procedure defines external attributes of the stored procedure—its name and a list of one or more parameters.
A example stored procedure has two parameters.
Parameter names must start with the @ character.
The developer must also define a datatype for each parameter.
The header must begin with the Create Procedure keyword and finish with the As keyword.
The body of the stored procedure contains the Transact-SQL statements to be executed when the stored procedure runs.
In this example, there is just one Select statement using the procedure parameters.
2007-12-03
钻石水机用户,是真是假,有关当局快快帮帮忙。
有線新聞踢爆鑽石能量水廣告
http://www.youtube.com/watch?v
鑽石水機用戶,請立刻驗腎!!!
請立刻轉寄給所有鑽石水機用戶,功德無量!!!
鑽石水機用戶感染腎小球腎炎 - 李小姐 32 歲,每年都有例行全身檢驗的習慣,
2006 年 2 月,李小姐安裝了一台鑽石水機,開始生飲過瀘後的水,
2006 年4月作例行全身檢驗時發覺感染了腎小球腎炎,腎功能開始衰退。
據知馬來西亞,新加坡和香港已有多人受感染。 鑽石水機大腸桿菌嚴重超標
鑽石水機用戶陳先生,2006 年6月安裝了一台鑽石水機,開始生飲過瀘後的水,
感到身體不適,每天肚瀉多次,代理解釋為好轉反應,陳先生不放心
於是自行把過瀘後
陳先生於是立刻退機。
Cz: 有关当局快帮帮忙,别让你忠实的用户,过于担心。
好的产品当然不怕考验,希望这一封转邮,纯属恶搞。
要不然,受害者多得是啊~
p/s:查证后,将有详细的讯息 将陆续上载~
new function of blogger
today, new function from blogger.
Write. Share. Post.
Post to Blogger from Google Docs & Spreadsheets.
friendster vs facebook
2007-11-30
From - An.Inconvenient.Truth.2006.
Learn as much as you can about the climate crisis.
Then put your knowledge into action. www.climatecrisis.net
2007-11-29
vb.net time format string.
| Codes | Output |
|---|---|
| Format(Now, "h") | System.FormatException was unhandled Input string was not in a correct format. |
| FormatDateTime(Now, DateFormat.ShortTime) | 19:36 (in 24 hour) |
| DateTime.Now.ToString("h") or Now.ToString(" h") | 7 (in 12 hour) |
| Now.Hour.ToString(" h") | h (not appear figure in hour) |
转:hottest forum in china
[5:32:27 PM] Gwyneth Tham says: iit's one of the hottest forum in china nowadays
[5:32:27 PM] Gwyneth Tham says: it has lots of forums for lots of topics
Formatting Dates and Times
Formatting Dates and Times
A format string for date/time values can use one of the predefined string values shown in the following table.
| String | Description |
|---|---|
| Long DateD | Displays a date in long date format. |
| Short Dated | Displays a date in short date format. |
| Long TimeT | Displays a date in long date format. |
| Short Timet | Displays a date in short date format. |
| F | Displays the long date and long time. |
| f | Displays the long date and short time. |
| g | Displays the short date and short time. |
| Mm | Displays the month and the day of a date. |
| Yy | Formats the date as the year and month. |
Examples of applying a format string to date/time values are shown in the following table.
| Format | Output |
|---|---|
| Format(Now,"D") | Thursday, November 29, 2007 |
| Format(Now,"d") | 11/29/2007 |
| Format(Now,"T") | 3:20:02 AM |
| Format(Now,"t") | 3:20 AM |
| Format(Now,"F") | Thursday, November 29, 2007 3:20:02 AM |
| Format(Now,"f") | Thursday, November 29, 2007 3:20 AM |
| Format(Now,"g") | 11/29/2007 3:20 AM |
| Format(Now,"m") | November 29 |
| Format(Now,"y") | November, 2007 |