teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

文法の修正

2020/07/12 07:50

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -54,7 +54,7 @@
54
54
 
55
55
 
56
56
  Dim query As String = "Insert into Test3 values (@ODNOKBNN,@ODNO,@SGB,@Syagai,@MoveTime,@SagyoPlace,@StartTime,@StopTime,@BreakTime,@SagyoTime,@Biko,@Day)"
57
- Using con As SqlConnection = New SqlConnection("Data Source = 10.2.64.30\SQLEXPRESS,1433;Initial Catalog=COSTMGMT;Persist Security Info=True;User ID=sa;Password=P@ssw0rd;")
57
+ Using con As SqlConnection = New SqlConnection("")
58
58
 
59
59
 
60
60
  Using cmd As SqlCommand = New SqlCommand(query, con)

1

文法の修正

2020/07/12 07:50

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -15,7 +15,7 @@
15
15
  ### 該当のソースコード
16
16
 
17
17
  ```VB
18
- セルダブルクリックのイベントです。
18
+ セルダブルクリックのイベントです。こちらのコードをボタンクリックイベントにペーストすると上記のエラーが出ます。
19
19
  Dim dgv As DataGridView = DirectCast(sender, DataGridView)
20
20
  Dim ODNOKBNN As String = CM0000.login_Pass
21
21
  Dim ODNO As String = ""