2011年6月26日 星期日

msdn 學習園地

http://msdn.microsoft.com/zh-tw/bb188199

DotNetAge(D.J) jQuery for ASP.NET

這是一個非常好用而且免費的 jQuery 套件。

下載位址:http://dj.codeplex.com/


教學文章:jQuery Control for ASP.NET:Server 端的 jQuery UI 控制項

http://msdn.microsoft.com/zh-tw/ee787054.aspx

2011年6月23日 星期四

更改資料表的名稱

EXEC sp_rename 'old name', 'new name'

SyntaxHighlighter uses separate syntax files called brushes to define its highlighting functionality.

Brush nameBrush aliasesFile name
ActionScript3as3, actionscript3shBrushAS3.js
Bash/shellbash, shellshBrushBash.js
ColdFusioncf, coldfusionshBrushColdFusion.js
C#c-sharp, csharpshBrushCSharp.js
C++cpp, cshBrushCpp.js
CSScssshBrushCss.js
Delphidelphi, pas, pascalshBrushDelphi.js
Diffdiff, patchshBrushDiff.js
Erlangerl, erlangshBrushErlang.js
GroovygroovyshBrushGroovy.js
JavaScriptjs, jscript, javascriptshBrushJScript.js
JavajavashBrushJava.js
JavaFXjfx, javafxshBrushJavaFX.js
Perlperl, plshBrushPerl.js
PHPphpshBrushPhp.js
Plain Textplain, textshBrushPlain.js
PowerShellps, powershellshBrushPowerShell.js
Pythonpy, pythonshBrushPython.js
Rubyrails, ror, rubyshBrushRuby.js
ScalascalashBrushScala.js
SQLsqlshBrushSql.js
Visual Basicvb, vbnetshBrushVb.js
XMLxml, xhtml, xslt, html, xhtmlshBrushXml.js

ASCII對照表

ASCII, American Standard Code for Information Interchange

念起來像是 "阿斯key",定義從 0 到 127 的一百二十八個數字所代表的英文字母或數字或符號,所有使用 ASCII

的電腦之間可以互相讀取同一份文件而不會有不一樣的結果與意義。由於只使用 7 個位元 (bit) 就可以表示從 0 到 127 的數字,大部分的電腦都使用

8 個位元來存取字元集 (character set),所以從 128 到 255 之間的數字可以用來代表另一組一百二十八個符號,稱為 extended

ASCII。
ASCII碼 鍵盤 ASCII 碼 鍵盤 ASCII 碼 鍵盤 ASCII 碼 鍵盤
27 ESC 32 SPACE 33 ! 34 "
35 # 36 $ 37 % 38 &
39 ' 40 ( 41 ) 42 *
43 + 44 ' 45 - 46 .
47 / 48 0 49 1 50 2
51 3 52 4 53 5 54 6
55 7 56 8 57 9 58 :
59 ; 60 < 61 = 62 >
63 ? 64 @ 65 A 66 B
67 C 68 D 69 E 70 F
71 G 72 H 73 I 74 J
75 K 76 L 77 M 78 N
79 O 80 P 81 Q 82 R
83 S 84 T 85 U 86 V
87 W 88 X 89 Y 90 Z
91 [ 92 \ 93 ] 94 ^
95 _ 96 ` 97 a 98 b
99 c 100 d 101 e 102 f
103 g 104 h 105 i 106 j
107 k 108 l 109 m 110 n
111 o 112 p 113 q 114 r
115 s 116 t 117 u 118 v
119 w 120 x 121 y 122 z
123 { 124 | 125 } 126 ~

字串轉ASCII碼

protected void Button1_Click(object sender, EventArgs e)
{

byte[] b = System.Text.Encoding.ASCII.GetBytes("dw33f");

Label1.Text = b[1].ToString();

Label2.Text =System.Text.Encoding.ASCII.GetString(b);

}

2011年6月4日 星期六

using jquery call webservice