2011年6月26日 星期日
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
下載位址:http://dj.codeplex.com/
教學文章:jQuery Control for ASP.NET:Server 端的 jQuery UI 控制項
http://msdn.microsoft.com/zh-tw/ee787054.aspx
2011年6月23日 星期四
SyntaxHighlighter uses separate syntax files called brushes to define its highlighting functionality.
| Brush name | Brush aliases | File name |
|---|---|---|
| ActionScript3 | as3, actionscript3 | shBrushAS3.js |
| Bash/shell | bash, shell | shBrushBash.js |
| ColdFusion | cf, coldfusion | shBrushColdFusion.js |
| C# | c-sharp, csharp | shBrushCSharp.js |
| C++ | cpp, c | shBrushCpp.js |
| CSS | css | shBrushCss.js |
| Delphi | delphi, pas, pascal | shBrushDelphi.js |
| Diff | diff, patch | shBrushDiff.js |
| Erlang | erl, erlang | shBrushErlang.js |
| Groovy | groovy | shBrushGroovy.js |
| JavaScript | js, jscript, javascript | shBrushJScript.js |
| Java | java | shBrushJava.js |
| JavaFX | jfx, javafx | shBrushJavaFX.js |
| Perl | perl, pl | shBrushPerl.js |
| PHP | php | shBrushPhp.js |
| Plain Text | plain, text | shBrushPlain.js |
| PowerShell | ps, powershell | shBrushPowerShell.js |
| Python | py, python | shBrushPython.js |
| Ruby | rails, ror, ruby | shBrushRuby.js |
| Scala | scala | shBrushScala.js |
| SQL | sql | shBrushSql.js |
| Visual Basic | vb, vbnet | shBrushVb.js |
| XML | xml, xhtml, xslt, html, xhtml | shBrushXml.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日 星期六
訂閱:
意見 (Atom)