Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting Files LastWriteTime Pin
Abhijit Jana9-Apr-08 4:52
professionalAbhijit Jana9-Apr-08 4:52 
GeneralRe: Getting Files LastWriteTime Pin
narayanagvs9-Apr-08 5:49
narayanagvs9-Apr-08 5:49 
GeneralRe: Getting Files LastWriteTime Pin
Luc Pattyn9-Apr-08 6:32
sitebuilderLuc Pattyn9-Apr-08 6:32 
GeneralRe: Getting Files LastWriteTime Pin
Dave Kreskowiak9-Apr-08 7:05
mveDave Kreskowiak9-Apr-08 7:05 
GeneralInterop c# and cpp unmanaged [modified] Pin
Tomerland9-Apr-08 3:56
Tomerland9-Apr-08 3:56 
GeneralRe: Interop c# and cpp unmanaged Pin
led mike9-Apr-08 4:45
led mike9-Apr-08 4:45 
GeneralInteger Question Pin
jchigg20009-Apr-08 3:53
jchigg20009-Apr-08 3:53 
GeneralRe: Integer Question Pin
Colin Angus Mackay9-Apr-08 3:57
Colin Angus Mackay9-Apr-08 3:57 
jchigg2000 wrote:
Anyone know if it's possible to store integers that are < 10 in the 01, 02, 03 format?


If you do that then you are storing them as strings. Integers get stored as 32 bit values in binary.


jchigg2000 wrote:
I have database fields that store hours and minutes in numeric format and I'd like to force the minutes field to be 2 characters in my object so when I display time I don't have to do some nasty if statement and string manipulation to get 1:01 not showing up as 1:1


Don't do that in the database it isn't designed for it. Databases are for storing information, not for the rendering of that information.

Also, you also don't need "nasty if statements" you just have to learn how to use string.Format()

Upcoming FREE developer events:
* Developer Day Scotland

Recent blog posts:
* Mixins in C#3.0

My website | Blog

GeneralRe: Integer Question Pin
jchigg20009-Apr-08 3:58
jchigg20009-Apr-08 3:58 
GeneralRe: Integer Question Pin
PIEBALDconsult9-Apr-08 13:25
mvePIEBALDconsult9-Apr-08 13:25 
GeneralRe: Integer Question Pin
Dave Kreskowiak9-Apr-08 7:02
mveDave Kreskowiak9-Apr-08 7:02 
Generalregex.replace question Pin
livez9-Apr-08 3:15
livez9-Apr-08 3:15 
AnswerRe: regex.replace question Pin
Eslam Afifi9-Apr-08 6:47
Eslam Afifi9-Apr-08 6:47 
GeneralRe: regex.replace question Pin
livez10-Apr-08 20:42
livez10-Apr-08 20:42 
GeneralRe: regex.replace question Pin
Eslam Afifi10-Apr-08 23:39
Eslam Afifi10-Apr-08 23:39 
GeneralIs .Net framework supporting for varcharts or is there any control supports for this... Pin
ddinesh9-Apr-08 3:11
ddinesh9-Apr-08 3:11 
GeneralRe: Is .Net framework supporting for varcharts or is there any control supports for this... Pin
Gareth H9-Apr-08 3:25
Gareth H9-Apr-08 3:25 
QuestionIs there any free end-user report designer? Pin
Mr. Candyman9-Apr-08 2:59
Mr. Candyman9-Apr-08 2:59 
GeneralRe: Is there any free end-user report designer? Pin
Gareth H9-Apr-08 3:26
Gareth H9-Apr-08 3:26 
AnswerRe: Is there any free end-user report designer? Pin
Mr. Candyman9-Apr-08 3:49
Mr. Candyman9-Apr-08 3:49 
GeneralRe: Is there any free end-user report designer? Pin
Jesse Squire9-Apr-08 6:15
Jesse Squire9-Apr-08 6:15 
GeneralRe: Is there any free end-user report designer? Pin
Mr. Candyman9-Apr-08 23:36
Mr. Candyman9-Apr-08 23:36 
GeneralLicensing Pin
Member 40056579-Apr-08 1:43
Member 40056579-Apr-08 1:43 
GeneralRe: Licensing Pin
Christian Graus9-Apr-08 2:04
protectorChristian Graus9-Apr-08 2:04 
QuestionDateTime.TryParse() - what is the defined behaviour? Pin
Neophyte309-Apr-08 1:09
Neophyte309-Apr-08 1:09 

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.