Life is a little bit messy. We all make mistakes. No matter what type of animal you are, change starts with you.
生活總會有點不順遂,我們都會犯錯。天性如何並不重要,重要的是妳要開始改變。
sendohlun 發表在 痞客邦 留言(0) 人氣(205)
Never regret anything because at one time it was exactly what you wanted.
不要後悔做任何事情,因為曾經有個時候,那正是妳想要的。
sendohlun 發表在 痞客邦 留言(0) 人氣(23)
I always tried to turn every disaster into an opportunity. -- John Davison Rockefeller
我總是想辦法把每一個災難都變成機會。-- 洛克菲勒
sendohlun 發表在 痞客邦 留言(0) 人氣(3)
當DB的欄位值設定是允許Null
該欄位的值,是Null 或是空值("")不一樣。
所以取值時,要多一層判斷。(雖然在UI看起來都一樣沒有東西)
Model.txtCustomer = (object)dr["txtCustomer"] is DBNull ? null : dr["txtCustomer"].ToString();
=>DataReader要先轉成Object,並判斷 is DBNull,是的話就給Null值,不是的話就給DB撈出來的值。
sendohlun 發表在 痞客邦 留言(0) 人氣(853)
I can accept defeat but could not accept to give up.
我可以接受失敗,但不能接受放棄。
sendohlun 發表在 痞客邦 留言(0) 人氣(57)
No matter the ending is perfect or not, you cannot disappear from my world.
我的世界不允許妳的消失,不管結局是否完美。
sendohlun 發表在 痞客邦 留言(0) 人氣(263)
Behind the fear of an ideal you, you create the fear, you can beat him.
恐懼的背後有一個理想的你,恐懼是你自己創造,你也可以打敗他。
sendohlun 發表在 痞客邦 留言(0) 人氣(9)
Things can happen to you, but they don't have to happen to your soul.
我們無法讓壞事不發生,但我們可以努力讓它不影響我們。
sendohlun 發表在 痞客邦 留言(0) 人氣(50)
One of the most dangerous forms of human error is forgetting what one is trying to achieve.
人會犯的最嚴重錯誤之一,就是忘記自己想達成的目標。
sendohlun 發表在 痞客邦 留言(0) 人氣(3)
The best way to gain self-confidence is to do what you are afraid to do.
獲得自信最好的方法,是做你不敢做的事。
sendohlun 發表在 痞客邦 留言(0) 人氣(9)