C# creation of SQL CE databases
From: Den (anonymous_at_discussions.microsoft.com)
Date: 05/19/04
- Next message: Rn: "Re: .NET apps show wait cursor, then nothing?"
- Previous message: James Anderson: "RE: Multiple Threads problem"
- Next in thread: Jon Skeet [C# MVP]: "Re: C# creation of SQL CE databases"
- Reply: Jon Skeet [C# MVP]: "Re: C# creation of SQL CE databases"
- Reply: Liam Westley: "RE: C# creation of SQL CE databases"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 May 2004 01:21:03 -0700
I am developing an app in C# on a PDA using SQL CE.
It is to use British date format : dd/mm/yyyy.
I am having problems with the comparison of dates between dates entered in the app and the database.
I can format the dates in C# and then format dates using convert in SQL and compare the two..
However , I was wondering is it possible , when programmatically creating a database , to set the region and or date to British format.I would like to ensure that the default formatting for any date field is British.
If it's not possible to set the format for the whole database is it possible to specify the format in a create table statement or to add some type of constraint to ensure the date is formatted correctly.
Thanks,
Den
- Next message: Rn: "Re: .NET apps show wait cursor, then nothing?"
- Previous message: James Anderson: "RE: Multiple Threads problem"
- Next in thread: Jon Skeet [C# MVP]: "Re: C# creation of SQL CE databases"
- Reply: Jon Skeet [C# MVP]: "Re: C# creation of SQL CE databases"
- Reply: Liam Westley: "RE: C# creation of SQL CE databases"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|