C
Charlie Brown
When checking for NULL values from a database, normally I would use
If Not row("NetSales") Is DBNull.Value Then
NetSales = row("NetSales")
End If
However, if I use a typed dataset then I can't check for NULL the same
way
If Not row.NetSales Is DBNull.Value Then
NetSales = row.NetSales
End If
Is there a better way to check for Null values when using typed
datasets?
If Not row("NetSales") Is DBNull.Value Then
NetSales = row("NetSales")
End If
However, if I use a typed dataset then I can't check for NULL the same
way
If Not row.NetSales Is DBNull.Value Then
NetSales = row.NetSales
End If
Is there a better way to check for Null values when using typed
datasets?