{"id":212,"date":"2007-02-07T05:45:39","date_gmt":"2007-02-07T05:45:39","guid":{"rendered":"http:\/\/www.jason695.idv.tw:81\/wordpress\/?p=212"},"modified":"2007-02-09T01:40:05","modified_gmt":"2007-02-09T01:40:05","slug":"%e5%85%a9%e7%a8%aesqldatasource","status":"publish","type":"post","link":"https:\/\/jason695.why3s.tw\/wordpress\/2007\/02\/07\/%e5%85%a9%e7%a8%aesqldatasource\/","title":{"rendered":"SqlDataSource"},"content":{"rendered":"<p>System.Web.UI.WebControls.SqlDataSource&#8211;>.NET Framework 2.0 \u7248<br \/>\nms-help:\/\/MS.VSCC.v80\/MS.MSDN.v80\/MS.NETDEVFX.v20.cht\/cpref16\/html\/T_System_Web_UI_WebControls_SqlDataSource.htm<br \/>\n<a href=\"http:\/\/msdn2.microsoft.com\/zh-tw\/library\/system.web.ui.webcontrols.sqldatasource(VS.80).aspx\">http:\/\/msdn2.microsoft.com\/zh-tw\/library\/system.web.ui.webcontrols.sqldatasource(VS.80).aspx<\/a><\/p>\n<p>\u4ee5\u4e0b\u70ba\u672c\u4eba\u89c0\u9ede<br \/>\nSqlDataSource\u70ba.NET Framework 2.0\u7248\u7684\u65b0\u529f\u80fd,\u628aselect,update,insert\u7684SQL\u6307\u4ee4\u96c6\u5408\u8d77\u4f86,<br \/>\n\u514d\u9664\u4e86\u57281.0\u7248,\u9084\u9700\u8981\u4f7f\u7528DataAdapter\u505a\u70ba\u4e32\u63a5\u5668\u7684\u60c5\u6cc1,<br \/>\n\u4f3a\u670d\u5668\u63a7\u5236\u9805(\u5982DROPDOWNLIST,GRIDVIEW\u7b49)\u4e5f\u53ef\u76f4\u63a5\u6307\u5b9aSqlDataSource\u70ba\u5b83\u7684DataSource<br \/>\n\u5728\u9019\u908a\u9084\u8981\u6ce8\u610f\u4e00\u9ede,DataSource\u53ef\u6307\u5b9a\u7684\u6709\u5206DataSource\u548cDataSourceID\u5169\u7a2e,<br \/>\n\u5169\u8005\u53ea\u80fd\u64c7\u4e00\u800c\u7528,<\/p>\n<blockquote><p>EX:<br \/>\ngridview1.datasourceID=SqlDataSource<br \/>\ngridview1.datasource=SqlDataSource<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>System.Web.UI.WebControls.SqlDataSource&#8211;>.NET Fra &hellip; <a href=\"https:\/\/jason695.why3s.tw\/wordpress\/2007\/02\/07\/%e5%85%a9%e7%a8%aesqldatasource\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">SqlDataSource<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-212","post","type-post","status-publish","format-standard","hentry","category-net","no-featured-image"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":0,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"wp:attachment":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}