{"id":2488,"date":"2014-07-10T09:44:43","date_gmt":"2014-07-10T01:44:43","guid":{"rendered":"http:\/\/kuki.idv.tw\/?p=2488"},"modified":"2014-07-10T09:44:43","modified_gmt":"2014-07-10T01:44:43","slug":"c%e7%9a%84-code-blocks-%e6%a8%a1%e5%bc%8f%ef%bc%8c%e5%be%ae%e8%bb%9fmsdn%e7%9a%84%e7%af%84%e4%be%8b","status":"publish","type":"post","link":"https:\/\/www.kuki.idv.tw\/?p=2488","title":{"rendered":"C#\u7684 Code Blocks \u6a21\u5f0f\uff0c\u5fae\u8edfMSDN\u7684\u7bc4\u4f8b"},"content":{"rendered":"<pre style=\"color: #000000;\">http:\/\/msdn.microsoft.com\/en-us\/library\/vstudio\/f0111sbh(v=vs.100).aspx\r\n\u5e95\u4e0b\u70ba\u7a0b\u5f0f\u78bc\r\n\r\n&lt;%@ Page Language=<span style=\"color: #a31515;\">\"C#\"<\/span> %&gt;\r\n\r\n&lt;!DOCTYPE html PUBLIC <span style=\"color: #a31515;\">\"-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\"<\/span> <span style=\"color: #a31515;\">\"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\"<\/span>&gt;\r\n\r\n&lt;script runat=<span style=\"color: #a31515;\">\"server\"<\/span>&gt;\r\n    <span style=\"color: blue;\">protected<\/span> <span style=\"color: blue;\">void<\/span> Page_Load(<span style=\"color: blue;\">object<\/span> sender, EventArgs e)\r\n    {\r\n        <span style=\"color: blue;\">if<\/span> (IsPostBack)\r\n        {\r\n            Response.Write(<span style=\"color: #a31515;\">\"&lt;br \/&gt;Page has been posted back.\"<\/span>);\r\n        }\r\n    }\r\n&lt;\/script&gt;\r\n\r\n&lt;html xmlns=<span style=\"color: #a31515;\">\"http:\/\/www.w3.org\/1999\/xhtml\"<\/span> &gt;\r\n&lt;head id=<span style=\"color: #a31515;\">\"Head1\"<\/span> runat=<span style=\"color: #a31515;\">\"server\"<\/span>&gt;\r\n    &lt;title&gt;Untitled Page&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;form id=<span style=\"color: #a31515;\">\"form1\"<\/span> runat=<span style=\"color: #a31515;\">\"server\"<\/span>&gt;\r\n    &lt;div&gt;\r\n    Hello.&lt;br \/&gt;\r\n    &lt;asp:Button ID=<span style=\"color: #a31515;\">\"Button1\"<\/span> runat=<span style=\"color: #a31515;\">\"server\"<\/span> \r\n    Text=<span style=\"color: #a31515;\">\"Click to Post Back\"<\/span> \/&gt;\r\n    &lt;\/div&gt;\r\n    &lt;\/form&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/msdn.microsoft.com\/en-us\/library\/vstudio\/f0111sb &hellip; <a href=\"https:\/\/www.kuki.idv.tw\/?p=2488\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008C#\u7684 Code Blocks \u6a21\u5f0f\uff0c\u5fae\u8edfMSDN\u7684\u7bc4\u4f8b\u3009<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2488"}],"collection":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2488"}],"version-history":[{"count":1,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2488\/revisions"}],"predecessor-version":[{"id":2489,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2488\/revisions\/2489"}],"wp:attachment":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}