6
shouts

TryParse a string to a nullable type (DateTime, int, Decimal, etc)

published 259 days, 8 hours, 48 minutes ago posted by runxc1runxc1 260 days, 3 hours, 32 minutes ago
Friday, July 03, 2009 8:52:24 AM GMT Thursday, July 02, 2009 2:07:54 PM GMT

Have you ever wanted to parse a string to a nullable type? This will show you how to do it in a Generic way so you don't have to rewrite your code to parse it to a Decimal? as opposed to a DateTime? or Int? or....

category: ASP.NET | clicked: 81 | | source: blog.runxc.com | show counter code
tags: .NET, C#, Generics, parseing

1 comment posted.

To post your comment please login or signup