T
Trygve Lorentzen
Hi,
I have a typed dataset with a column GROSSWEIGHT defined as an INT in my
MySQL database. My strongly typed autogenerated DataSet defines the
GROSSWEIGHT column as datatype "long".
<xs:element name="GROSSWEIGHT" type="xs:long" minOccurs="0"
/>
When I check the type of the nameOfDataRow.GROSSWEIGHT object it is Int64,
which is correct, but when I use nameOfDataRow["GROSSWEIGHT"] to get the
value of the DataColumn object, it's type is is show as Int16. What the heck
is wrong here?
Please give me any hits to solve this thing since I need to use the
nameOfDataRow["GROSSWEIGHT"] approach in a general method instead of using
the strongly typed nameOfDataRow.GROSSWEIGHT approach.
Cheers,
Trygve
I have a typed dataset with a column GROSSWEIGHT defined as an INT in my
MySQL database. My strongly typed autogenerated DataSet defines the
GROSSWEIGHT column as datatype "long".
<xs:element name="GROSSWEIGHT" type="xs:long" minOccurs="0"
/>
When I check the type of the nameOfDataRow.GROSSWEIGHT object it is Int64,
which is correct, but when I use nameOfDataRow["GROSSWEIGHT"] to get the
value of the DataColumn object, it's type is is show as Int16. What the heck
is wrong here?
Please give me any hits to solve this thing since I need to use the
nameOfDataRow["GROSSWEIGHT"] approach in a general method instead of using
the strongly typed nameOfDataRow.GROSSWEIGHT approach.
Cheers,
Trygve