2013年2月6日 星期三
2013年1月25日 星期五
New
[ASP][Session] 透過Session擷取使用者帳號,並塞值進SQL command line
S7an
1/25/2013 08:53:00 上午
0 Comments
<% 'Option Explicit dim CmdText ' SQL statement dim RsTemp ' recordset object dim gObjTxn 'Transcation Object CO...
Read More
2013年1月2日 星期三
New
[MySQL][Char][VARCHAR][VARCHAR2] 資料類型差異
S7an
1/02/2013 10:40:00 上午
0 Comments
CHAR:以空格填滿不足的字串長度 NCHAR:以空格填滿不足的字串長度,for unicode VARCHAR:以空白填滿不足的字串長度 VARCHAR2:以null填滿不足的字串長度,也就是會適應字串長度 NVARCHAR2:以空白填滿不足的字串長度,for unic...
Read More
2012年12月26日 星期三
New
[C#][coding] String.PadLeft();
S7an
12/26/2012 09:01:00 上午
0 Comments
protected void btnRan_Click(object sender, EventArgs e) { Random ran = new Random(); lblShow3.Tex...
Read More
2012年12月20日 星期四
New
[Array][coding] GetUpperBound, GetLength 陣列維度/長度的取得
S7an
12/20/2012 10:52:00 上午
0 Comments
練習字串時,要取得字串的個數,並逐一印出, 但這兩個方法讓我不曉得用哪個才適當, int array1 = new string[]{1, 2, 3, 4, 5 }; //1*1維陣列 in...
Read More
2012年12月18日 星期二
New
[HTML] 水平線語法 < hr >
S7an
12/18/2012 11:04:00 上午
0 Comments
當你的lable.Text需要接續呈現兩個不同結果的時候, 就可以用<hr>來隔開這兩結果, Ex: try{ balabalbalbala... } catch{ lblShow += "輸出異常" } ...
Read More
2012年12月11日 星期二
New
[C#][coding][OOP] CS1519 類別、結構或介面成員宣告中無效的語彙基元
S7an
12/11/2012 01:33:00 下午
0 Comments
困擾了半個小時,想說哪來的奇怪語法,怎麼會造成這個現象, 參考了書上與網路上的範例,程式碼應該是正確的才是, 後來才發現,是自己的 觀念錯誤 ,原來當初一直出現的 "類別、結構或介面成員宣告中無效的語彙基元" 是對於物件的基本概念錯誤, 這也多...
Read More