This is the code I have a problem on it I can't understund why when I debugg they send me that the System.NullReferenceException and dt is nothing
Dim dt As DataTable = PerformCRUD(Cmd)
If dt.Rows.Count > 0 Then
intRow = Convert.ToInt32(dt.Rows.Count.ToString())
Else
intRow = 0
End If
ToolStripStatusLabel1.Text = "Number of row(s):" & intRow.ToString()
End Sub
End Class