- Dec 17 Thu 2015 18:31
TEST
- May 12 Thu 2016 11:46
SQL 排序置換
If 'Peter'
and 'Steve'
are unique in your table, this will do:
UPDATE TableX
SET ord = ( SELECT MIN(ord) + MAX(ord)
FROM TableX
WHERE name IN ('Peter', 'Steve')
) - ord
WHERE name IN ('Peter', 'Steve')
or (improved by @Erwin):
- May 06 Fri 2016 12:05
臨時網址
http://ipq.co/
- May 06 Fri 2016 11:54
C# 載入資料夾內所有圖片
string bookNo = "01";
bookNo = Request.Params["no"] == null ? "01" : Request.Params["no"];
- May 06 Fri 2016 11:54
判別行動裝置
var uA = navigator.userAgent;
if (uA.match(/iPod/) || uA.match(/iPad/) || uA.match(/iPhone/) || uA.match(/Android/) || uA.match(/Windows Phone/)) {
- May 06 Fri 2016 11:47
使用a 呼叫js 埋ga
<a class="viewBtn" href="javascript:showView('01')" onclick="ga('send', 'event', 'xxx', 'xxx', '1')"></a>
- May 06 Fri 2016 11:45
C# 直接下載檔案
protected void LinkButton5_Click(object sender, EventArgs e)
{
- Apr 13 Wed 2016 17:25
圖片按鈕 input file
- Mar 30 Wed 2016 10:41
[轉貼]上傳檔案前,JavaScript檢查檔案格式、大小