The date time parse method

by ssi 30. April 2013 19:56

I really like the simplicity of the date time parse method

 

o1.OrderDate = DateTime.Parse("12/7/2007 1:05 PM");

Tags:

CSharp

Use String.Format

by ssi 30. April 2013 19:44

Use String.Format to convert pesky number or dates to strings

String.Format("{0:###.###}", HousingRatio)

String.Format("{0:d}", Datetime.Now)

Tags: ,

CSharp

Exception Notification

by ssi 30. April 2013 18:46
I like to use this snippet in a catch statement to display an error to the user without stopping the application

catch
 (Exception ex) { lblErr.Text = string.Format("{0}", ex.Message); }

Tags:

CSharp

Calendar

<<  May 2024  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

RecentComments

None

Development Team @ Shelbysys

We develop custom database applications for our clients. Our development tool of choice is MS Visual Studio. 

Quotations

""All glory is fleeting.""
General George S. Patton, Jr