Moses Yap
:-) A happy IT Guy

Auto indent and code cleanup with Visual Studio's IDE

March 27, 2008 08:44 by MosesYap
This shortcut is specially useful with HTML/ASPX when the code can get a bit messy.  Visual Studio can auto format your text.  To do the auto format:Ctrl+K  then Ctrl + FYou can do the auto format for only a certain portion of your file too.  Just select the region you want to au... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: .NET
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Getting a comma delimited string from any collection with Lamda Expression

March 26, 2008 16:13 by admin
Here is a pretty useful routine when you have a collection in memory and you want to go through the collection and come out with a comma delimited string. For this example, we have a List<int>             List<int> keys = ...;  &nb... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: .NET | Lamda | C#
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Adding Server Side Comments into your aspx

March 17, 2008 07:45 by mosesyap
There are 2 ways to add comments into your aspx.  Either by client side comments or server side comments. Client Side Comments: <!-- Here is an example client side comment --> Server Side Comments: <%-- Here is an example server side comment --%>   So what is the dif... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: .NET
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed