N
netnav
I have created a DataTable with several columns and then added some
rows and data in the rows. It seems that when you access the data in
a particular row/column it is of type Object and not the data type
that you specified when you created the column. So it seems that to
use the data that I put in the row/columns I have to convert the
Object to the appropriate type, otherwise its just a string. So for
example if I have a column that is a DateTime datatype to use the
dates that I put into my table as date I have to convert each of
them. This doesn't seem right. Is there something I am missing.
Thanks
rows and data in the rows. It seems that when you access the data in
a particular row/column it is of type Object and not the data type
that you specified when you created the column. So it seems that to
use the data that I put in the row/columns I have to convert the
Object to the appropriate type, otherwise its just a string. So for
example if I have a column that is a DateTime datatype to use the
dates that I put into my table as date I have to convert each of
them. This doesn't seem right. Is there something I am missing.
Thanks