2014年3月25日

object xml

摘要: http://stackoverflow.com/questions/17739330/xmlserializer-convert-c-sharp-object-to-xml-stringhttp://stackoverflow.com/questions/2434534/serialize-an-object-to-stringhttp://stackoverflow.com/questions/14811880/c-sharp-xml-serialization-how-to-serialize-attribute-in-class-that-inherits-li 阅读全文

posted @ 2014-03-25 16:23 wensky 阅读(135) 评论(0) 推荐(0) 编辑

2014年3月21日

自己写的一个用于往文件中插入字符串及空格的bat

摘要: @echo offecho pleas input the filename:set /p file=:whilerem set j=0 非得写这儿 写下面:check 上面不行 希望大神指点set j=0echo please input the content type:set /p type=if %type%==q ( goto END)echo please input the content:set /p input=if %type%==n (:checkif %j% lss %input% (type blank.txt>>%file%)set /a j+=1if 阅读全文

posted @ 2014-03-21 17:35 wensky 阅读(978) 评论(0) 推荐(0) 编辑

2014年3月14日

修改 SQL SERVER 2008 編輯前200筆 資料表問題? 转载自:http://www.dotblogs.com.tw/easy1201/archive/2008/12/04/6179.aspx

摘要: 小弟前幾天下載安裝了 SQL SERVER 2008感覺系統效能還不錯但是要編輯 資料表卻出現很苦惱但經過一番波折終於了解如何改善先執行SQL Server Management Studio選擇 工具 選項在選擇SQL SERVER 物件管理再將編輯前個資料列表 命令的值 200 改為 0確定就可改善 編輯前200筆 資料表問題 阅读全文

posted @ 2014-03-14 09:48 wensky 阅读(165) 评论(0) 推荐(0) 编辑

2014年3月7日

Create Advanced Web Applications With Object-Oriented Techniques

摘要: Create Advanced Web Applications With Object-Oriented TechniquesRay DjajadinataRecently I interviewed a software developer with five years experience in developing Web applications. She’d been doing JavaScript for four and a half years, she rated her JavaScript skill as very good, and—as I found out 阅读全文

posted @ 2014-03-07 14:19 wensky 阅读(294) 评论(0) 推荐(0) 编辑

2014年2月28日

需求第一

摘要: 做一件事情 一定要尽最大努力去了解需求 阅读全文

posted @ 2014-02-28 08:32 wensky 阅读(97) 评论(0) 推荐(0) 编辑

2014年2月20日

fwrite() and UTF8 转载

摘要: 4 down voteIf you know the data is in UTF8 than you want to set up the header.I wrote a solution answering to another tread.The solution is the following: As the UTF-8 byte-order mark is \xef\xbb\xbf we should add it to the document's header.You can adapt it to your code, basically you just want 阅读全文

posted @ 2014-02-20 19:03 wensky 阅读(444) 评论(0) 推荐(0) 编辑

mysql 表字段与关键字相同的话

摘要: desc is a reserved keyword (short for DESCENDING in ORDER BY).Enlose it into backticks:INSERT INTO ideas (title,`desc`) VALUES ('$title','$desc'); 阅读全文

posted @ 2014-02-20 16:26 wensky 阅读(302) 评论(0) 推荐(0) 编辑

2014年2月19日

异常处理原则

摘要: 1.任何时候不能以任何理由 吃掉异常2.严格执行第一条 阅读全文

posted @ 2014-02-19 12:21 wensky 阅读(139) 评论(0) 推荐(0) 编辑

2014年1月22日

微信 使用wScratchPad 组件时 出错

摘要: 说是由于android版本bug可访问 https://github.com/websanova/wScratchPad/issues/15解决方法:$("#wScratchPad canvas").bind('mousedown',function(){ var num = Math.random()*2+1; $("#wScratchPad canvas").css('margin-right',num+'px'); }); 阅读全文

posted @ 2014-01-22 16:27 wensky 阅读(415) 评论(1) 推荐(0) 编辑

2014年1月8日

asp.net 各种文件解析探索

摘要: aspx ascx ashx 等等准备写一个专题 还望各位批评指正,共同学习 阅读全文

posted @ 2014-01-08 12:00 wensky 阅读(122) 评论(0) 推荐(0) 编辑

导航