TryParse a string to a nullable type (DateTime, int, Decimal, etc)(blog.runxc.com)

submitted by runxc1runxc1(220) 2 years, 10 months ago

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....

1 comment |category: |Views: 129

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by hemanthgnhemanthgn(1) 1 year, 11 months ago 0

Not able to access the link(http://blog.runxc.com/post/2009/07/01/TryParse-a-string-to-a-nullable-type-(DateTime-int-Decimal-etc).aspx). Webservice is refusing.

Reply

information Login or create an account to comment on this story