2007年11月13日

正文内容加载中...
posted @ 2007-11-13 17:23 Wade 阅读(1304) 评论(0) 推荐(0) 编辑
摘要:1. simple join two tables purpose:generate sql like: select * from photo p left join artist a on p.artist_id = a.artist_id where a.genre = 'something' and p.genre = 'something'code: if(!CriteriaUtil:... 阅读全文
posted @ 2007-11-13 15:49 Wade 阅读(864) 评论(0) 推荐(0) 编辑
摘要:Create a file backup_db.sh, and paste the following contents:#get the first parameter as the database nameDATABASE=$1#if no database specified, then you can set the default oneif [ -z $DATABASE ]; the... 阅读全文
posted @ 2007-11-13 15:49 Wade 阅读(322) 评论(0) 推荐(0) 编辑
摘要:#server-id = 1log-bin = /var/log/mysql/mysql-bin.log#if you set the expire_logs_days = x var in the [mysqld] section of your my.cnf it will automatically rotate your bin logs after x days.expire_logs_... 阅读全文
posted @ 2007-11-13 15:49 Wade 阅读(656) 评论(0) 推荐(0) 编辑

2007年9月25日

正文内容加载中...
posted @ 2007-09-25 14:37 Wade 阅读(406) 评论(0) 推荐(0) 编辑

2007年8月30日

正文内容加载中...
posted @ 2007-08-30 18:39 Wade 阅读(1450) 评论(0) 推荐(0) 编辑
摘要:Show how to add script to the client in aspx file. /// <param name="rbl">RadioButtonList to apply script to</param>/// <param name="page">The Page the script is going to be appended ... 阅读全文
posted @ 2007-08-30 18:34 Wade 阅读(335) 评论(0) 推荐(0) 编辑
摘要:Add Command here to right button click in explore (Windows XP)http://www.cnblogs.com/Files/taotao/CMDHere.reg.css Download the file, and remove the .css from the filename, then the file is CMDHere.reg... 阅读全文
posted @ 2007-08-30 18:15 Wade 阅读(380) 评论(0) 推荐(0) 编辑
摘要:Set readonly for input text document.getElementById("ctrl_id").readOnly = true; //pay attention to the readOnly, it's case sensitive.Set option to unable toselect for select control:<option value=... 阅读全文
posted @ 2007-08-30 14:31 Wade 阅读(314) 评论(0) 推荐(0) 编辑

2007年8月29日

正文内容加载中...
posted @ 2007-08-29 10:31 Wade 阅读(692) 评论(0) 推荐(0) 编辑

导航

统计