1. Go to web site property page,
2. Now Click on Start Options.
3. Now look at server block , and select option Use custom server
And Give an local host url in base url field.
For Ex: http://localhost:2859/WebSite1/
C #,ASP.NET
1. Go to web site property page,
2. Now Click on Start Options.
3. Now look at server block , and select option Use custom server
And Give an local host url in base url field.
For Ex: http://localhost:2859/WebSite1/
SELECT convert(varchar,[addedat],103) as addedat FROM tblTable
var query = from q in entity.tblTable
select new
{
date = SqlFunctions.DateName("day", q.addedat).Trim() + "/" +
SqlFunctions.StringConvert((double)q.addedat.Value.Month).TrimStart() + "/" +
SqlFunctions.DateName("year", q.addedat),
};