skip to main | skip to sidebar

Sanjeewa'S Tech Page

Thursday, May 6, 2010

use If, Else in one line

leads.ShipmentDate = View.TxtShipmentDate.Text != "" ? Convert.ToDateTime(View.TxtShipmentDate.Text) : DateTime.MinValue;
Posted by SS - LK at 4:45 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2010 (9)
    • ►  October (1)
    • ▼  May (2)
      • advertisement
      • use If, Else in one line
    • ►  April (3)
    • ►  February (2)
    • ►  January (1)
  • ►  2009 (29)
    • ►  December (2)
    • ►  October (2)
    • ►  August (3)
    • ►  July (3)
    • ►  June (3)
    • ►  May (3)
    • ►  April (5)
    • ►  January (8)
  • ►  2008 (46)
    • ►  November (1)
    • ►  October (14)
    • ►  August (11)
    • ►  May (7)
    • ►  April (1)
    • ►  March (2)
    • ►  February (10)
  • ►  2007 (33)
    • ►  December (1)
    • ►  November (7)
    • ►  October (11)
    • ►  September (12)
    • ►  July (2)
 

You like my blog?

Search This Blog

Followers