Ciao,
io devo verificare se il dato con coi valorizzo la variabile, è un numero, ho provato una cosa simile ma nn funziona
For i = 0 To i = 999
If nodeData.Code = i Then
txtNewValCode.Text = nodeData.Code
txtNewValDescr.Text = nodeData.Description
Else
txtNewValCode.Text = nodeData.Description
txtNewValDescr.Text = nodeData.Code
End If
Next
poi la pagina mi da questo errore
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error:
Line 356:
Line 357: For i = 0 To i = 999
Line 358: If nodeData.Code = i Then
Line 359: txtNewValCode.Text = nodeData.Code
Line 360: txtNewValDescr.Text = nodeData.Description