Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Changing DataColumn DataType in the same DataTable

$
0
0

hi,

I have following requirement.

In a DataTable, I have a DataColumn with String as DataType (This has dateTime data in String format). I want to change this DataType to DateTimeStamp and then sort it in ASC order.

Could someone please share sample code to do this?

Appreciate for your help.

Many Thanks,

Alex


AC



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>