Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.71K
1 Posted Topic
Sorry troupm that does not work, you cannot compare your value to system.DBNull.value, and you cannot compare it to nothing because it is an actual value (system.DBNULL). You need to use the isDBNull() method: if isDBNull(dr.Item(4).value) then substr = "" else substr = dr.Item(4).value.ToString.Substring(0, 2) end if Also you are …
The End.
Andyc75