A
Aussie Rules
Hi,
I have a result set that sometimes will contain a Null value from the SQL
server.
I have looked into this and am trying to manage this with the following
If Not DBNull.Value.Equals(dRow("path")) Then
advCell.Text = dRow("path")
Else
advCell.Text = "No Path"
End If
However it doesn't matter what the result set contains.. it also execute top
condition..
Am I doing something wrong.... is there a better way to deal with Sql Null
values ?
I have a result set that sometimes will contain a Null value from the SQL
server.
I have looked into this and am trying to manage this with the following
If Not DBNull.Value.Equals(dRow("path")) Then
advCell.Text = dRow("path")
Else
advCell.Text = "No Path"
End If
However it doesn't matter what the result set contains.. it also execute top
condition..
Am I doing something wrong.... is there a better way to deal with Sql Null
values ?