Value '<valuename1>' cannot be converted to '<valuename2>'

A type conversion was attempted between two incompatible types.

Error ID: BC30742

To correct this error

  • Verify the types that are being cast.

See Also

Reference

CType Function