Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: compile time error or runtime error? Pin
George_George7-May-08 1:29
George_George7-May-08 1:29 
AnswerRe: compile time error or runtime error? Pin
Charith Jayasundara4-May-08 8:04
Charith Jayasundara4-May-08 8:04 
GeneralRe: compile time error or runtime error? Pin
George_George4-May-08 18:46
George_George4-May-08 18:46 
QuestionNumbers Don't Display According To The Current Culture! Pin
WaleedH3-May-08 23:21
WaleedH3-May-08 23:21 
QuestionDateTime Hour Minute Question Pin
MumbleB3-May-08 22:38
MumbleB3-May-08 22:38 
AnswerRe: DateTime Hour Minute Question Pin
MumbleB3-May-08 22:42
MumbleB3-May-08 22:42 
GeneralRe: DateTime Hour Minute Question Pin
Luc Pattyn3-May-08 23:07
sitebuilderLuc Pattyn3-May-08 23:07 
GeneralRe: DateTime Hour Minute Question Pin
MumbleB3-May-08 23:45
MumbleB3-May-08 23:45 
Thanks Luc. In South Africa we use "ddMMyyyy" as date format. I wa using DateTime.Today which consistantly returned the correct date but the time as 120000 which is probably the start of the day. When I changed to DateTime.Now it returned the time correctly.

I expect to only create one file per day so I should be OK but I wanted to add the date time to show when the report was generated.


Luc Pattyn wrote:
3.
you don't have to try and do everything in a single line; splitting a statement in two
or three smaller statements yields more readable code, and facilitates debugging, since
now you can set breakpoints on the parts, and watch intermediate results.


I will take this advice and use it. I usually do that.

Thanks again mate. Much appreciated. I try and learn everyday and browsing the posts and Boards helps loads.

Excellence is doing ordinary things extraordinarily well.

GeneralRe: DateTime Hour Minute Question [modified] Pin
#realJSOP4-May-08 3:53
mve#realJSOP4-May-08 3:53 
GeneralRe: DateTime Hour Minute Question Pin
PIEBALDconsult4-May-08 5:55
mvePIEBALDconsult4-May-08 5:55 
GeneralRe: DateTime Hour Minute Question Pin
Luc Pattyn4-May-08 11:40
sitebuilderLuc Pattyn4-May-08 11:40 
QuestionCPU and RAM Usage Pin
Ian Uy3-May-08 19:44
Ian Uy3-May-08 19:44 
AnswerRe: CPU and RAM Usage Pin
MumbleB3-May-08 22:13
MumbleB3-May-08 22:13 
QuestionOutput to word? Pin
Muammar©3-May-08 19:40
Muammar©3-May-08 19:40 
AnswerRe: Output to word? Pin
MumbleB3-May-08 22:21
MumbleB3-May-08 22:21 
GeneralRe: Output to word? Pin
Muammar©3-May-08 23:05
Muammar©3-May-08 23:05 
Questionabout desktop.ini. [modified] Pin
Prabhat0033-May-08 18:55
Prabhat0033-May-08 18:55 
AnswerRe: about desktop.ini. Pin
Muammar©3-May-08 19:49
Muammar©3-May-08 19:49 
GeneralRe: about autorun.ini. Pin
Prabhat0033-May-08 20:18
Prabhat0033-May-08 20:18 
GeneralRe: about autorun.ini. Pin
Muammar©3-May-08 20:21
Muammar©3-May-08 20:21 
QuestionControl media player with C# Pin
BobbyWhiskey3-May-08 18:16
BobbyWhiskey3-May-08 18:16 
QuestionRiemer's code Pin
sakirah3-May-08 14:28
sakirah3-May-08 14:28 
AnswerRe: Riemer's code Pin
Christian Graus3-May-08 15:11
protectorChristian Graus3-May-08 15:11 
AnswerRe: Riemer's code Pin
MarkB7774-May-08 0:22
MarkB7774-May-08 0:22 
QuestionUrgent please Pin
Sahar1113-May-08 11:51
Sahar1113-May-08 11:51 

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.