摘要: 1.Aspx code  <html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <... 阅读全文
posted @ 2010-07-20 14:54 C.fly 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Recenently,I finish my fisrt task in new company, I have tested many times in local computer, and it run smooth. But when i deploy a version to UAT. many problems were occured. Case 1:   My department... 阅读全文
posted @ 2010-07-16 17:30 C.fly 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 攀比酷似競爭,拿自己和別人比是件很不幸的事。原因就在於我們每個人各不相同,就像我們煮飯一樣,我們不應該老是打開鍋來看看飯煮得怎麽樣了,這樣我們的飯不但煮不好而且的煮出來的飯難吃。有些人像草一樣一種下去沒過幾天就長出來了,有些人卻像竹子似的,頭三年沒什麽動靜,到四年一下子就長出了80英尺。  把自己的目標建立在與人攀比的基礎教上,這樣的生活肯定令你的理想遙不可及而失去自信。如果我的錢以前賺得比你多,... 阅读全文
posted @ 2010-06-30 11:47 C.fly 阅读(165) 评论(0) 推荐(0) 编辑
摘要: In my lastest working task,I meet a problem , the case is as below.A page have two gridview, for example gridview1,gridview2.and all of them bind to seperate objectdatasource.when click gridview1,Ittr... 阅读全文
posted @ 2010-06-30 09:29 C.fly 阅读(336) 评论(0) 推荐(0) 编辑
摘要: Recently I've helped a fewdevelopers who have been having some weird JavaScript issues (both when using ASP.NET AJAX and with some other custom JavaScript routines they were using). The culprit was th... 阅读全文
posted @ 2010-06-24 11:55 C.fly 阅读(362) 评论(0) 推荐(0) 编辑
摘要: Today i make a mistake , and l didn't resolve this problem long and hard, But my workmate help me to resolve it , and the solution is very simple, just a little config changing. i should do my best to... 阅读全文
posted @ 2010-06-23 11:37 C.fly 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1. Add a OLE DB Source.2.Create a new conneciton3.Set provider to Jet 4.0 OLE Provider4.Select the database file name and update path to the related folder name.5.Set the 'All' property6.Set the exten... 阅读全文
posted @ 2010-06-22 11:48 C.fly 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Thebelowis the related code,but pls remember to clear the image column inupdateCommand 's syntax,and updateparams in aspx file.If you don't clear it , the sqlcommand will reexecute it. and it'll produ... 阅读全文
posted @ 2010-06-10 12:07 C.fly 阅读(258) 评论(0) 推荐(0) 编辑
摘要: set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER PROCEDURE [dbo].[SP_CreateData_Demo]ASdeclare @a intset @a=1beginwhile @a<45000begininsert into Person_User_Info(PersonID,UserCode,UserPassword,Depa... 阅读全文
posted @ 2010-06-05 08:56 C.fly 阅读(435) 评论(0) 推荐(0) 编辑
摘要: select to_char(sum(decode(currency, 'USD', amount * 1.0000, 'THB', amount * 0.029403, 'HKD', amount * 0.129017, 'PHP', amount * 0.020661, 'IDR', amount * 0.0001, 'VND', amount * 0.000056, 'KRW', amou... 阅读全文
posted @ 2010-06-05 08:56 C.fly 阅读(245) 评论(0) 推荐(0) 编辑