S
SIS01
Hi, all
I read a text file into a generic Dataset,
I need to change one of the columns datatype from String to decimal (money).
mds.Tables(0).Columns("IMPORTE").DataType = GetType(Decimal)
But i get an error like "Cant change datatype to a column with data".
I've tried to copy to a TypedDataset but i get errors too:
dsty.dttable.Merge(mds.Tables(0))
Any suggestion please.
Thanks in advance.
I read a text file into a generic Dataset,
I need to change one of the columns datatype from String to decimal (money).
mds.Tables(0).Columns("IMPORTE").DataType = GetType(Decimal)
But i get an error like "Cant change datatype to a column with data".
I've tried to copy to a TypedDataset but i get errors too:
dsty.dttable.Merge(mds.Tables(0))
Any suggestion please.
Thanks in advance.