I'm using compact framework. After I execute this statement:
I use the Fill method of the SqlCeDataAdapter to bind the result set to my grid. However, I want the data in a certain format. I tried this, but it doesn't work:
I think that for formatting the date (which is used strictly for display purposes) it shouldn't matter in what format the data is stored in the SQL CE database, right?
Thank you.
Code:
SELECT date FROM myTable
I use the Fill method of the SqlCeDataAdapter to bind the result set to my grid. However, I want the data in a certain format. I tried this, but it doesn't work:
Code:
SELECT to_char(date,'MM\DD\YY') FROM myTable
I think that for formatting the date (which is used strictly for display purposes) it shouldn't matter in what format the data is stored in the SQL CE database, right?
Thank you.