{"id":136,"date":"2007-02-10T22:13:34","date_gmt":"2007-02-11T03:13:34","guid":{"rendered":"\/cgi\/wp\/?p=136"},"modified":"2019-12-11T08:27:17","modified_gmt":"2019-12-11T13:27:17","slug":"aspnet-20-database","status":"publish","type":"post","link":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=136","title":{"rendered":"ASP.NET 2.0 &#8211; Database"},"content":{"rendered":"<p>I have finished reading my book on ASP.NET 2.0. There were two chapters on the new database server controls for ASP.NET 2.0. The new database controls eliminate the need to create database connection, command, and reader objects which was a real pain.<\/p>\n<p>I am still updating my notes with some new tidbits of information I gleamed while reading the book. For example, I learned that literal dates should be surrounded by the # sign character rather than\u00a0double quotes. And I discovered that an Import namespace directive\u00a0in the global.asax will apply for the entire web application so you don&#8217;t need to add them to\u00a0every ASPX page. This would save me a lot of time on my current project which needs to reference the System.Data and System.Data.SqlClient namespaces on every page.<\/p>\n<p>After\u00a0I have updated my notes\u00a0I plan to search the web for some additional details on ASP.NET 2.0 and maybe start to learn how to use the AJAX server controls.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have finished reading my book on ASP.NET 2.0. There were two chapters on the new database server controls for ASP.NET 2.0. The new database controls eliminate the need to create database connection, command, and reader objects which was a &hellip; <a href=\"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=136\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/136"}],"collection":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136"}],"version-history":[{"count":1,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions"}],"predecessor-version":[{"id":3416,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions\/3416"}],"wp:attachment":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}