convert datetime type to string type in a dataset?

  • Thread starter Thread starter tom
  • Start date Start date
T

tom

Hi,

I want to convert a dateTime column in my dataset to the
string type column and the data in this column should look
like same. Can someone show me how to do this?

Thanks in advance.
tom
 
Hi tom,

You might add new column (typeof(string)) to table, copy datetime values
into, remove the datetime column and rename the new column.
 
Back
Top