Sunday, 31 May 2009

SQL - Useful Functions

Get Employees first name:

SELECT SUBSTRING(Name, 1, CHARINDEX(' ', Name)) AS FirstName

Friday, 22 May 2009

System.Web.HttpContext

System.Web.HttpContext.CurrentContext.Response.Write("");

System.Web.HttpContext.Current.User.Identity.IsAuthenticated