{"id":1097,"date":"2023-12-25T14:10:04","date_gmt":"2023-12-25T05:10:04","guid":{"rendered":"https:\/\/onaraboo.com\/?p=1097"},"modified":"2023-12-25T14:26:18","modified_gmt":"2023-12-25T05:26:18","slug":"visual-studio-c-net-sql-server%e3%81%b8%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%81%8c%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/onaraboo.com\/?p=1097","title":{"rendered":"Visual Studio C#.NET SQL Server\u3078\u306e\u63a5\u7d9a\u304c\u3067\u304d\u306a\u3044\u2026\uff1f"},"content":{"rendered":"<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/onaraboo.com\/?p=1097\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/onaraboo.com\/?p=1097\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"Visual Studio C#.NET SQL Server\u3078\u306e\u63a5\u7d9a\u304c\u3067\u304d\u306a\u3044\u2026\uff1f\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img loading=\"lazy\" decoding=\"async\" src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_line\"><a href='http:\/\/line.me\/R\/msg\/text\/?Visual%20Studio%20C%23.NET%20SQL%20Server%E3%81%B8%E3%81%AE%E6%8E%A5%E7%B6%9A%E3%81%8C%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84%E2%80%A6%EF%BC%9F%0D%0Ahttps%3A%2F%2Fonaraboo.com%2F%3Fp%3D1097' title='LINE\u3067\u9001\u308b' rel=nofollow class='wp_social_bookmarking_light_a' ><img src='https:\/\/onaraboo.com\/wordpress\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/line20x20.png' alt='LINE\u3067\u9001\u308b' title='LINE\u3067\u9001\u308b' width='20' height='20' class='wp_social_bookmarking_light_img' \/><\/a><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/onaraboo.com\/?p=1097\" data-text=\"Visual Studio C#.NET SQL Server\u3078\u306e\u63a5\u7d9a\u304c\u3067\u304d\u306a\u3044\u2026\uff1f\" data-lang=\"ja\">Tweet<\/a><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n\n<p>\u6700\u8fd1\u30d7\u30ed\u30b0\u30e9\u30e0\u3059\u308b\u3053\u3068\u304c\u5c11\u306a\u304f\u306a\u3063\u305f\u3002<br>\u3068\u8a00\u3046\u3088\u308a\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3055\u305b\u3066\u8cb0\u3048\u3066\u306a\u3044\u3002<br>\u30b7\u30b9\u30c6\u30e0\u3068\u306f\u95a2\u4fc2\u306a\u3044\u4ed5\u4e8b\u3070\u304b\u308a\u3067\u3044\u3044\u52a0\u6e1b\u3001\u5acc\u306b\u306a\u3063\u3066\u304d\u305f\u3002<br>\u305d\u3093\u306a\u751f\u6d3b\u3092\u3057\u3064\u3064\u3001\u305f\u307e\uff5e\u306b\u3069\u3046\u3057\u3066\u3082\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5fc5\u8981\u306a\u5834\u9762\u304c\u51fa\u3066\u304d\u3066\u4f5c\u308a\u59cb\u3081\u308b\u3002<br>\u96e2\u308c\u3066\u3044\u308b\u3068\u66f8\u304d\u65b9\u304c\u53e4\u304b\u3063\u305f\u308a\u3001\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\uff36\uff33\u306b\u6163\u308c\u3066\u3044\u306a\u304f\u3066\u3088\u304f\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/p>\n\n\n\n<p>\u57fa\u5e79\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\uff08SQL Server\uff09\u304b\u3089\u30c7\u30fc\u30bf\u3092\u5f15\u3063\u5f35\u3063\u3066\u304d\u3066\u6574\u5f62\u3057\u3066Excel\u30d5\u30a1\u30a4\u30eb\u3067\u51fa\u529b\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<br>\u57fa\u5e79\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3057\u305f\u6642\u306b\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/onaraboo.com\/wordpress\/wp-content\/uploads\/2023\/12\/20231225_01.png\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"384\" src=\"https:\/\/onaraboo.com\/wordpress\/wp-content\/uploads\/2023\/12\/20231225_01.png\" alt=\"\" class=\"wp-image-1098\" srcset=\"https:\/\/onaraboo.com\/wordpress\/wp-content\/uploads\/2023\/12\/20231225_01.png 720w, https:\/\/onaraboo.com\/wordpress\/wp-content\/uploads\/2023\/12\/20231225_01-300x160.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/figure><\/div>\n\n\n<p>\u300c\u4fe1\u983c\u3055\u308c\u3066\u3044\u306a\u3044\u6a5f\u95a2\u306b\u3088\u3063\u3066\u8a3c\u660e\u66f8\u30c1\u30a7\u30fc\u30f3\u304c\u767a\u884c\u3055\u308c\u307e\u3057\u305f\u300d\uff1f\uff1f<br>\u4eca\u307e\u3067\u3044\u308d\u3044\u308dSQL Server\u3092\u4f7f\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u3066\u304d\u305f\uff08\u4e3b\u306bVB.NET\uff09\u3051\u3069\u3053\u3093\u306a\u30a8\u30e9\u30fc\u306f\u898b\u305f\u3053\u3068\u304c\u7121\u3044\u3002<br>\u4f8b\u306b\u3088\u3063\u3066\u5099\u5fd8\u9332\u3068\u3057\u3066\u89e3\u6c7a\u65b9\u6cd5\u3092\u8a18\u9332\u3057\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<p>\u30b0\u30b0\u3063\u3066\u307f\u308b\u3068\u4e00\u822c\u7684\u306a\u30a8\u30e9\u30fc\u3089\u3057\u304f\u3066\u3001\u63a5\u7d9a\u6587\u5b57\u5217\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u3088\u3046\u3060\u3002\uff08\u3082\u3057\u304f\u306fSQL Server\u306e\u8a2d\u5b9a\u306b\u3088\u308b\u3082\u306e\uff09<br>\u4eca\u306e\u63a5\u7d9a\u6587\u5b57\u5217\u3067\u306f<br>\u30fb\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u540d\uff08\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u540d or \uff29\uff30\u30a2\u30c9\u30ec\u30b9\uff09<br>\u30fb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\uff08\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u540d\u524d\uff09<br>\u30fb\u63a5\u7d9a\u30e6\u30fc\u30b6\u30fc\u540d\uff08\u63a5\u7d9a\u6642\u306b\u4f7f\u7528\u3059\u308b\u30e6\u30fc\u30b6\u30fc\uff29\uff24\uff09<br>\u30fb\u63a5\u7d9a\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u5fdc\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\uff08\u63a5\u7d9a\u30e6\u30fc\u30b6\u30fc\uff29\uff24\u3067\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\uff09<br>\u306e\uff14\u3064\u3092\u6307\u5b9a\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30aa\u30fc\u30d7\u30f3\u3057\u305f\u6642\u306b\u6012\u3089\u308c\u308b\u3002<br>\u8db3\u308a\u306a\u3044\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u300cTrustServerCertificate\u300d\u3068\u3044\u3046\u9805\u76ee\u3089\u3057\u3044\u3002<br>\u3053\u306e\u9805\u76ee\u306fSQL Server\u306e\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u3082\u5de6\u53f3\u3055\u308c\u307e\u3059\u304c\u3001\u63a5\u7d9a\u6642\u306b\u6697\u53f7\u5316\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3044\u3066\u3001\u8a3c\u660e\u66f8\u3092\u5fc5\u8981\u3068\u3059\u308b\u3088\u3046\u306a\u8a2d\u5b9a\u306e\u5834\u5408\u3001TrustServerCertificate\u306e\u9805\u76ee\u3067\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306e\u63d0\u51fa\u3092\u3057\u306a\u304f\u3066\u3082\u3044\u3044\u3088\u3046\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002<br>Microsoft\u306e\u89e3\u8aac\u30da\u30fc\u30b8\u3092\u8aad\u307f\u9032\u3081\u308b\u3068\u305d\u3093\u306a\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u5c02\u9580\u7528\u8a9e\u304c\u591a\u3059\u304e\u308b\u306e\u3068\u524d\u63d0\u77e5\u8b58\u306e\u6577\u5c45\u304c\u9ad8\u3059\u304e\u308b\u305b\u3044\u304b\u3001\u3044\u3064\u3082\u5927\u534a\u7406\u89e3\u3067\u304d\u306a\u3044\u30da\u30fc\u30b8\u306b\u611f\u3058\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3053\u306e\u9805\u76ee\u3092\u66f8\u3044\u305f\u5834\u5408\u306e\u63a5\u7d9a\u6587\u5b57\u5217\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\nsqlCon.ConnectionString = &quot;Data Source=&quot; + strDataBaseSV +\n&quot;; Initial Catalog=&quot; + strDataBaseName +\n&quot;; User ID=&quot; + strUserName +\n&quot;; Password=&quot; + strPasword +\n&quot;; TrustServerCertificate=True&quot;;\nsqlCon.Open();\n<\/pre>\n\n\n\n<p>\u3053\u308c\u3067\u30a8\u30e9\u30fc\u304c\u3067\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<br>\u305f\u3060\u3057\u3001\u3053\u306e\u8a2d\u5b9a\u306f\u5916\u90e8\u304b\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u63a5\u7d9a\u3059\u308b\u5834\u5408\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u5bfe\u5fdc\u3059\u308b\u8a2d\u5b9a\u3067\u3059\u306e\u3067\u3001\u5b89\u6613\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u7121\u8996\u3057\u305f\u4f5c\u308a\u306b\u8d70\u308b\u3068\u300c\u75db\u3044\u76ee\u300d\u306b\u3042\u3046\u53ef\u80fd\u6027\u3092\u8003\u616e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u4eca\u56de\u306f\u5185\u90e8\u306e\u74b0\u5883\u3067\u5229\u7528\u3059\u308b\u793e\u5185\u5411\u3051\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3078\u306e\u8a2d\u5b9a\u3067\u3059\u306e\u3067\u3042\u308b\u7a0b\u5ea6\u306f\u7518\u3005\u3067\u884c\u3063\u3066\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u524d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3053\u3093\u306a\u9805\u76ee\u304c\u7121\u304f\u3066\u3082\u63a5\u7d9a\u3067\u304d\u3066\u3044\u305f\u306e\u306b\u306a\u3093\u3060\u304b\u8151\u306b\u843d\u3061\u306a\u3044\u3002<br>\u4ee5\u524d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u958b\u767a\u74b0\u5883\u306fVisual Studio 2015\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u30d7\u30ed\u30b0\u30e9\u30e0\u3059\u308b\u3053\u3068\u304c\u5c11\u306a\u304f\u306a\u3063\u305f\u3002\u3068\u8a00\u3046\u3088\u308a\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3055\u305b\u3066\u8cb0\u3048\u3066\u306a\u3044\u3002\u30b7\u30b9\u30c6\u30e0\u3068\u306f\u95a2\u4fc2\u306a\u3044\u4ed5\u4e8b\u3070\u304b\u308a\u3067\u3044\u3044\u52a0\u6e1b\u3001\u5acc\u306b\u306a\u3063\u3066\u304d\u305f\u3002\u305d\u3093\u306a\u751f\u6d3b\u3092\u3057\u3064\u3064\u3001\u305f\u307e\uff5e\u306b\u3069\u3046\u3057\u3066\u3082\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5fc5\u8981\u306a\u5834\u9762\u304c\u51fa&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/onaraboo.com\/?p=1097\">Read more<span class=\"screen-reader-text\">Visual Studio C#.NET SQL Server\u3078\u306e\u63a5\u7d9a\u304c\u3067\u304d\u306a\u3044\u2026\uff1f<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":1108,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,5],"tags":[85,87,86,88,89],"class_list":["post-1097","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sql-server","category-5","tag-c","tag-sql-server","tag-visual-studio-2022","tag-88","tag-89","entry"],"_links":{"self":[{"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/posts\/1097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1097"}],"version-history":[{"count":8,"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/posts\/1097\/revisions"}],"predecessor-version":[{"id":1110,"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/posts\/1097\/revisions\/1110"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=\/wp\/v2\/media\/1108"}],"wp:attachment":[{"href":"https:\/\/onaraboo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onaraboo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}