Since I have option strict on in all my work, I find that I'm converting and casting constatly because of it. Pulling data out of a datareader, whats the diference between these two??
VB Code:
'Should I do it this way?? Acct.AcctPass = CStr(r("AcctPass")) 'Or this way?? Acct.AcctPass = CType(r("AcctPass"), String)




Reply With Quote