質問編集履歴
2
sq
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
sb.Append("SELECT * ");
|
18
18
|
|
19
|
-
sb.Append("FROM [
|
19
|
+
sb.Append("FROM [データ名].[dbo].[Table] ");
|
20
20
|
|
21
21
|
String sql = sb.ToString();
|
22
22
|
|
1
接続文字列を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
```C#
|
6
6
|
|
7
|
-
using (var connection = new SqlConnection(""))
|
7
|
+
using (var connection = new SqlConnection("接続文字列"))
|
8
8
|
|
9
9
|
{
|
10
10
|
|