Posts
 
Reputation
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
~355 People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for mcupryk

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 …

Member Avatar for Andyc75
0
355

The End.