Getting data from SQL Mobile 05 Transformation problem

I

info

Hi

When I read data from the SQL Mobile 05 all my 01.01.1900 dates are now
01.01.2000 the same select via (SqlCeDataAdapter) worked fine under
CF1.1 now under 2.0 this problem occurs

Does anyone know any help , hints or tips ?


Thanks in advance!
 
D

Darren Shaffer

SqlCeDataReader dtr = cmd.ExecuteQuery(sql);

When you go to retrieve the date from the SqlCeDataReader,
are you doing this:

date = dtr.GetDate(0);

or this:

date = DateTime.Parse(dtr.GetValue(0).ToString())

?

I have not been able to recreate this issue and am curious what you're
doing.

--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top