{"id":245833,"date":"2022-07-04T08:10:59","date_gmt":"2022-07-04T00:10:59","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=245833"},"modified":"2022-06-23T18:14:26","modified_gmt":"2022-06-23T10:14:26","slug":"net-web-forms-2","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/net-web-forms-2.html","title":{"rendered":"ASP.NET Web Forms – Web \u670d\u52a1\u5668\u63a7\u4ef6\u7b80\u4ecb"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nWeb \u670d\u52a1\u5668\u63a7\u4ef6\u662f\u670d\u52a1\u5668\u53ef\u7406\u89e3\u7684\u7279\u6b8a ASP.NET \u6807\u7b7e\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

Web \u670d\u52a1\u5668\u63a7\u4ef6<\/strong><\/div>\n

\u5c31\u50cf HTML \u670d\u52a1\u5668\u63a7\u4ef6\uff0cWeb \u670d\u52a1\u5668\u63a7\u4ef6\u4e5f\u662f\u5728\u670d\u52a1\u5668\u4e0a\u521b\u5efa\u7684\uff0c\u5b83\u4eec\u540c\u6837\u9700\u8981 runat=\"server\" \u5c5e\u6027\u624d\u80fd\u751f\u6548\u3002\u7136\u800c\uff0cWeb \u670d\u52a1\u5668\u63a7\u4ef6\u6ca1\u6709\u5fc5\u8981\u6620\u5c04\u4efb\u4f55\u5df2\u5b58\u5728\u7684 HTML \u5143\u7d20\uff0c\u5b83\u4eec\u53ef\u4ee5\u8868\u793a\u66f4\u590d\u6742\u7684\u5143\u7d20\u3002<\/p>\n

\u521b\u5efa Web \u670d\u52a1\u5668\u63a7\u4ef6\u7684\u8bed\u6cd5\u662f\uff1a<\/p>\n

\r\n<asp:control_name id=\"some_id\" runat=\"server\" \/><\/pre>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Web \u670d\u52a1\u5668\u63a7\u4ef6<\/th>\n\u63cf\u8ff0<\/th>\n
AdRotator<\/a><\/td>\n\u663e\u793a\u4e00\u4e2a\u56fe\u5f62\u5e8f\u5217<\/td>\n<\/tr>\n
Button<\/a><\/td>\n\u663e\u793a\u4e0b\u538b\u6309\u94ae<\/td>\n<\/tr>\n
Calendar<\/a><\/td>\n\u663e\u793a\u65e5\u5386<\/td>\n<\/tr>\n
CalendarDay<\/a><\/td>\ncalendar \u63a7\u4ef6\u4e2d\u7684\u4e00\u5929<\/td>\n<\/tr>\n
CheckBox<\/a><\/td>\n\u663e\u793a\u590d\u9009\u6846<\/td>\n<\/tr>\n
CheckBoxList<\/a><\/td>\n\u521b\u5efa\u591a\u9009\u7684\u590d\u9009\u6846\u7ec4<\/td>\n<\/tr>\n
DataGrid<\/td>\n\u663e\u793a grid \u4e2d\u6570\u636e\u6e90\u7684\u5b57\u6bb5<\/td>\n<\/tr>\n
DataList<\/td>\n\u901a\u8fc7\u4f7f\u7528\u6a21\u7248\u663e\u793a\u6570\u636e\u6e90\u4e2d\u7684\u9879\u76ee<\/td>\n<\/tr>\n
DropDownList<\/a><\/td>\n\u521b\u5efa\u4e0b\u62c9\u5217\u8868<\/td>\n<\/tr>\n
HyperLink<\/a><\/td>\n\u521b\u5efa\u8d85\u94fe\u63a5<\/td>\n<\/tr>\n
Image<\/a><\/td>\n\u663e\u793a\u56fe\u50cf<\/td>\n<\/tr>\n
ImageButton<\/a><\/td>\n\u663e\u793a\u53ef\u70b9\u51fb\u7684\u56fe\u50cf<\/td>\n<\/tr>\n
Label<\/a><\/td>\n\u663e\u793a\u53ef\u7f16\u7a0b\u7684\u9759\u6001\u5185\u5bb9\uff08\u4f7f\u60a8\u5bf9\u5176\u5185\u5bb9\u5e94\u7528\u6837\u5f0f\uff09<\/td>\n<\/tr>\n
LinkButton<\/a><\/td>\n\u521b\u5efa\u8d85\u94fe\u63a5\u6309\u94ae<\/td>\n<\/tr>\n
ListBox<\/a><\/td>\n\u521b\u5efa\u5355\u9009\u6216\u591a\u9009\u7684\u4e0b\u62c9\u5217\u8868<\/td>\n<\/tr>\n
ListItem<\/a><\/td>\n\u521b\u5efa\u5217\u8868\u4e2d\u7684\u4e00\u4e2a\u9879\u76ee<\/td>\n<\/tr>\n
Literal<\/a><\/td>\n\u663e\u793a\u53ef\u7f16\u7a0b\u7684\u9759\u6001\u5185\u5bb9\uff08\u65e0\u6cd5\u4f7f\u60a8\u5bf9\u5176\u5185\u5bb9\u5e94\u7528\u6837\u5f0f\uff09<\/td>\n<\/tr>\n
Panel<\/a><\/td>\n\u4e3a\u5176\u4ed6\u63a7\u4ef6\u63d0\u4f9b\u5bb9\u5668<\/td>\n<\/tr>\n
PlaceHolder<\/a><\/td>\n\u4e3a\u7531\u4ee3\u7801\u6dfb\u52a0\u7684\u63a7\u4ef6\u9884\u7559\u7a7a\u95f4<\/td>\n<\/tr>\n
RadioButton<\/a><\/td>\n\u521b\u5efa\u5355\u9009\u6309\u94ae<\/td>\n<\/tr>\n
RadioButtonList<\/a><\/td>\n\u521b\u5efa\u5355\u9009\u6309\u94ae\u7ec4<\/td>\n<\/tr>\n
BulletedList<\/a><\/td>\n\u521b\u5efa\u9879\u76ee\u7b26\u53f7\u683c\u5f0f\u7684\u5217\u8868<\/td>\n<\/tr>\n
Repeater<\/td>\n\u663e\u793a\u7ed1\u5b9a\u5230\u63a7\u4ef6\u7684\u9879\u76ee\u7684\u91cd\u590d\u5217\u8868<\/td>\n<\/tr>\n
Style<\/a><\/td>\n\u8bbe\u7f6e\u63a7\u4ef6\u7684\u6837\u5f0f<\/td>\n<\/tr>\n
Table<\/a><\/td>\n\u521b\u5efa\u8868\u683c<\/td>\n<\/tr>\n
TableCell<\/a><\/td>\n\u521b\u5efa\u8868\u683c\u5355\u5143\u683c<\/td>\n<\/tr>\n
TableRow<\/a><\/td>\n\u521b\u5efa\u8868\u683c\u884c<\/td>\n<\/tr>\n
TextBox<\/a><\/td>\n\u521b\u5efa\u6587\u672c\u6846<\/td>\n<\/tr>\n
Xml<\/a><\/td>\n\u663e\u793a XML \u6587\u4ef6\u6216 XSL \u8f6c\u6362\u7684\u7ed3\u679c<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"

\u5c31\u50cf HTML \u670d\u52a1\u5668\u63a7\u4ef6\uff0cWeb \u670d\u52a1\u5668\u63a7\u4ef6\u4e5f\u662f\u5728\u670d\u52a1\u5668\u4e0a\u521b\u5efa\u7684\uff0c\u5b83\u4eec\u540c\u6837\u9700\u8981 runat=”server” […]<\/p>\n","protected":false},"author":1470,"featured_media":245835,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-245833","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/245833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1470"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=245833"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/245833\/revisions"}],"predecessor-version":[{"id":245837,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/245833\/revisions\/245837"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/245835"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=245833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=245833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=245833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}