Click here to Skip to main content
15,885,757 members
Home / Discussions / C#
   

C#

 
GeneralRe: update the table data Pin
Christian Graus11-Dec-07 17:58
protectorChristian Graus11-Dec-07 17:58 
Questionturning off ups Pin
Tauseef A11-Dec-07 16:14
Tauseef A11-Dec-07 16:14 
GeneralRe: turning off ups Pin
Christian Graus11-Dec-07 16:41
protectorChristian Graus11-Dec-07 16:41 
GeneralUHOQQK+C39HrP48DhTt Pin
There is always the way to do it, but I don't know11-Dec-07 15:09
There is always the way to do it, but I don't know11-Dec-07 15:09 
GeneralRe: UHOQQK+C39HrP48DhTt Pin
Dave Kreskowiak12-Dec-07 3:44
mveDave Kreskowiak12-Dec-07 3:44 
GeneralResizing the controls Pin
A.Asif11-Dec-07 11:42
A.Asif11-Dec-07 11:42 
GeneralRe: Resizing the controls Pin
Christian Graus11-Dec-07 13:39
protectorChristian Graus11-Dec-07 13:39 
GeneralUniversal Date Time Formatting with C# Pin
polishprogrammer11-Dec-07 9:08
polishprogrammer11-Dec-07 9:08 
I have an application that needs to record data in a database and the particular date when that data was written to the database. More, I need customers to be able to retrieve data from the database by date or date range. To that end, the MS Access database I'm using has a field called TestDate of type Date/Time, and I set up two date/time pickers to allow customers to select a date or date range from which to get data.

All this works well and good until I change my regional/language options so the date format changes, say from mm/dd/yyyy to dd/mm/yyyy. Then, although the MS Access database updates the TestDate data automatically to reflect the change in date/time format and my date/time pickers in the C# appilcation reflect the altered format, the result of executing SQL statements based on the date/time pickers does not return the correct data from the database.

Rather, selecting all data from December 10, 2007 retrieves data from October 12, 2007. By contrast, if I select, say November 29, 2007, the correct data is returned. Something, then, is getting confused about ambiguous dates.

Any suggestions would be appreciated.
GeneralRe: Universal Date Time Formatting with C# Pin
Pete O'Hanlon11-Dec-07 9:38
mvePete O'Hanlon11-Dec-07 9:38 
GeneralRe: Universal Date Time Formatting with C# Pin
polishprogrammer11-Dec-07 11:42
polishprogrammer11-Dec-07 11:42 
GeneralRe: Universal Date Time Formatting with C# Pin
RobScripta12-Dec-07 1:14
professionalRobScripta12-Dec-07 1:14 
GeneralRe: Universal Date Time Formatting with C# Pin
polishprogrammer12-Dec-07 3:00
polishprogrammer12-Dec-07 3:00 
GeneralRe: Universal Date Time Formatting with C# Pin
polishprogrammer12-Dec-07 3:27
polishprogrammer12-Dec-07 3:27 
GeneralRe: Universal Date Time Formatting with C# Pin
polishprogrammer12-Dec-07 6:25
polishprogrammer12-Dec-07 6:25 
QuestionHow to import the data inside a text file into a database? Pin
josephx2k711-Dec-07 8:49
josephx2k711-Dec-07 8:49 
GeneralRe: How to import the data inside a text file into a database? Pin
Christian Graus11-Dec-07 9:27
protectorChristian Graus11-Dec-07 9:27 
GeneralRe: How to import the data inside a text file into a database? Pin
josephx2k711-Dec-07 10:13
josephx2k711-Dec-07 10:13 
GeneralRe: How to import the data inside a text file into a database? Pin
Christian Graus11-Dec-07 13:46
protectorChristian Graus11-Dec-07 13:46 
QuestionIs it possible to create instance aliases in C#? Pin
Skippums11-Dec-07 8:05
Skippums11-Dec-07 8:05 
GeneralRe: Is it possible to create instance aliases in C#? [modified] Pin
Luc Pattyn11-Dec-07 8:42
sitebuilderLuc Pattyn11-Dec-07 8:42 
GeneralRe: Is it possible to create instance aliases in C#? Pin
Skippums11-Dec-07 9:09
Skippums11-Dec-07 9:09 
QuestionRe: Is it possible to create instance aliases in C#? Pin
Skippums11-Dec-07 9:26
Skippums11-Dec-07 9:26 
GeneralRe: Is it possible to create instance aliases in C#? Pin
Luc Pattyn11-Dec-07 9:48
sitebuilderLuc Pattyn11-Dec-07 9:48 
GeneralFormat code for a decimal number. Pin
dbrenth11-Dec-07 7:37
dbrenth11-Dec-07 7:37 
GeneralRe: Format code for a decimal number. Pin
pmarfleet11-Dec-07 7:54
pmarfleet11-Dec-07 7:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.