Good afternoon a query I'm doing in window form an application that extracts me when I enter the name of a field but that field is still empty but when I run an error jumps me from this: the field is empty but in the row it goes out as 1 and enters the condition but as it is null that error comes out
My code is as follows:
dt = New DataTable
dt = vB_Atencion.MostrarUsuarioIncidencia(2, TxtTicket.Text, CboAsignar.Text).Tables(0)
If dt.Rows.Count > 0 Then
lblUsuarioAsignado.Text = dt.Rows(0)("AsignarA")
End If