Hi
I have a dataset that I put the data in a datagrid
when I load the form..I'm supposed to see the data in the datagrid..but I don't
I'm trying to know why I don't have data in it...So first of all I want to know if I have data in my dataset
I tried to test it that way:
If m_DataLayer.DsJobType Is Nothing Then
MsgBox("is nothing")
Else
MsgBox("is not nothing")
End If
And It display "Is not nothing" so...That tell me that I have some data in my dataset right?
I would like to know if it's a good way to test it...or if it will return always that it is not = to nothing
I have a dataset that I put the data in a datagrid
when I load the form..I'm supposed to see the data in the datagrid..but I don't
I'm trying to know why I don't have data in it...So first of all I want to know if I have data in my dataset
I tried to test it that way:
If m_DataLayer.DsJobType Is Nothing Then
MsgBox("is nothing")
Else
MsgBox("is not nothing")
End If
And It display "Is not nothing" so...That tell me that I have some data in my dataset right?
I would like to know if it's a good way to test it...or if it will return always that it is not = to nothing