I extract data from a DB into a DataTable
, then I need to pass some data (from the DataTable
) to a function.
I've checked data type columns and some data are Int16
other data are Int32
and other are Int64
.
Assuming that the function expects integers
, is it a good pratice to use CInt
on data from DataTable
before pass them to the function or is unnecessary?