stuck in trouble. I have a txt-file, which save SQL Commands, when Internet Connection is disabled.

The fact is that in my database table there is a primary key marked on the date column. And sometimes SQL Command is corrupted( like on picture) and the SQL command loops on a specific date. It must be done so that if he cannot send a command, skip it and move on to the next command.
The part of my code, which send strings as SQL Commands :
If _DB.State = ConnectionState.Open Then
Dim Massiv() As String = IO.File.ReadAllLines("C:\Components\Data.txt", System.Text.Encoding.Default)
For Each element In Massiv
_SQLcommandFromFiles = New SqlCommand(element, _DC)
_SQLcommandFromFiles.ExecuteNonQuery()
Next