以下のコードは表示されませんYou Win!
問題を見つけるのを手伝ってもらえますか? どちらの配列も文字列です。
Sub checkwin()
Dim flag As Boolean = False
For i As Integer = 0 To win.Length - 1
If mess(i) = win(i) Then
flag = True
Else
flag = False
Exit For
End If
Next
If flag = True Then
lbl1.Content = "You Win!!"
Timer.Stop()
Dim name As String = txtName.Text
Dim data As String = "insert into puzzleTable([picName], [name], [moves], [time]) values ('mona','" & name & "','" & counter & "','" & x & "')"
mySql.executeSqlQuery(data)
End If
End Sub