I am trying to read the cell and see if the invoice number has two dashes (-).
So for example:
4-2949493
4-9390023-1
If (e.Row.RowType = DataControlRowType.DataRow) Then
If (e.Row.Cells(1).Text.ToString = (TWO DASHES) Then
Else
End If
End If
How would I check to see if it has two dashes? The invoice length changes every time too.