Convert datatype of data table values

Hello!

Quick question. How to convert the variable type of the values of a data table? I’m having an issue when merging because of the conflict of data type.

Is it possible to convert the whole data table into an Object or String type using linq?

Thanks!

Hi @_pjflo

How about the following?

Regards!

1 Like

Create new column with desired datatype. For Each Row in Datatable, update new column with correct values. Remove old column. Rename new column.

1 Like

Thanks for your help!

1 Like

Hi, thanks for your help!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.