Get Month Name


In Sql Server to find the month from a date you use the following command:


This will give you the month number. To get the month name, you need to use the next command:

DateName(month, DateTime)

Happy Programming.


Multiple Sitemaps


A problem that i found lately was when i needed to have multiple sitemaps. Why? I needed different menus for different parts of the website. Normally, the sitemap must be found at the root of the website. After searching, I found this solution which is very easy to implement… Next are the steps:

1. In web.config, you can add multiple site map providers, and set the siteMapFile property. Continue reading