Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to count total properties in a class. Pin
Josh Smith5-Jul-06 7:14
Josh Smith5-Jul-06 7:14 
GeneralRe: How to count total properties in a class. Pin
sun255-Jul-06 21:22
sun255-Jul-06 21:22 
QuestionVBA and .NET Pin
rattack5-Jul-06 5:59
rattack5-Jul-06 5:59 
AnswerRe: VBA and .NET Pin
ToddHileHoffer5-Jul-06 6:01
ToddHileHoffer5-Jul-06 6:01 
GeneralRe: VBA and .NET Pin
rattack5-Jul-06 23:12
rattack5-Jul-06 23:12 
QuestionI wanna to format any date like SQL Date without changing Regional setting? Pin
3DoorsDown5-Jul-06 4:35
3DoorsDown5-Jul-06 4:35 
AnswerRe: I wanna to format any date like SQL Date without changing Regional setting? Pin
ToddHileHoffer5-Jul-06 5:17
ToddHileHoffer5-Jul-06 5:17 
AnswerRe: I wanna to format any date like SQL Date without changing Regional setting? Pin
Colin Angus Mackay5-Jul-06 5:17
Colin Angus Mackay5-Jul-06 5:17 
I don't understand your problem. Perhaps if you posted your code it might help.

DateTime theDate = new DateTime(2006,07,05, 17, 11, 00);
SqlCommand cmd = new SqlCommand();
cmd.Connection = someConnection;
cmd.CommandText = "SELECT * FROM MyTable WHERE dateColumn = @dateValue";
cmd.Parameters.Add("@dateValue", theDate);
SqlDataReader reader = cmd.ExecuteReader();
// etc.


As you can see there is no need to format the date at all.


Scottish Developers events:
* .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy
* Developer Day Scotland: are you interested in speaking or attending?

My: Website | Blog
AnswerRe: I wanna to format any date like SQL Date without changing Regional setting? Pin
Martin#5-Jul-06 5:17
Martin#5-Jul-06 5:17 
QuestionShadowcopy Pin
kokilambal.p5-Jul-06 4:00
kokilambal.p5-Jul-06 4:00 
AnswerRe: Shadowcopy Pin
Josh Smith5-Jul-06 7:15
Josh Smith5-Jul-06 7:15 
GeneralRe: Shadowcopy Pin
Not Active5-Jul-06 7:49
mentorNot Active5-Jul-06 7:49 
GeneralRe: Shadowcopy Pin
Josh Smith5-Jul-06 10:21
Josh Smith5-Jul-06 10:21 
GeneralRe: Shadowcopy Pin
kokilambal.p5-Jul-06 21:21
kokilambal.p5-Jul-06 21:21 
QuestionC# Cross-Class function calls Pin
czell5-Jul-06 3:57
czell5-Jul-06 3:57 
AnswerRe: C# Cross-Class function calls Pin
BoneSoft5-Jul-06 4:14
BoneSoft5-Jul-06 4:14 
AnswerRe: C# Cross-Class function calls Pin
Jun Du5-Jul-06 4:31
Jun Du5-Jul-06 4:31 
GeneralRe: C# Cross-Class function calls Pin
led mike5-Jul-06 6:33
led mike5-Jul-06 6:33 
QuestionHow to find 24Hrs Back Time Pin
VenkataRamana.Gali5-Jul-06 3:34
VenkataRamana.Gali5-Jul-06 3:34 
AnswerRe: How to find 24Hrs Back Time Pin
stancrm5-Jul-06 3:39
stancrm5-Jul-06 3:39 
AnswerRe: How to find 24Hrs Back Time Pin
MatthewAnderson5-Jul-06 3:40
MatthewAnderson5-Jul-06 3:40 
GeneralRe: How to find 24Hrs Back Time Pin
Guffa5-Jul-06 4:03
Guffa5-Jul-06 4:03 
GeneralRe: How to find 24Hrs Back Time Pin
Guffa5-Jul-06 4:07
Guffa5-Jul-06 4:07 
QuestionProblem with Diagnostics.Process Pin
suguimoto5-Jul-06 3:28
suguimoto5-Jul-06 3:28 
AnswerRe: Problem with Diagnostics.Process Pin
S. Senthil Kumar5-Jul-06 5:06
S. Senthil Kumar5-Jul-06 5:06 

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.