I have a website on my server. All permissions are set correctly and the image DOES exist. Howeverwhen the page loads the image for the item selected does not show. Here is my code imagepath = "~/spaimages/" + currentSpaModel.Name.ToString() + ".png"; if (File.Exists(Server.MapPath(imagepath))) { this.spaimage.ImageUrl = Server.MapPath(imagepath); [...]
It is hard to see computer’s world without you and your ingenious ideas. You inspired and changed so many people’s lives. We will always think of you every day because one part of you is in our Mac, iPod/iPhone and iPad. We will never forget you… Sad day for everyone RIP Steve Jobs Share your [...]
Microsoft co-founder, Bill Gates, has once again managed to rank no. 1 as the richest American in Forbes list. Although his fortune swelled by $5 billion in last one year to $59 billion, he doesn’t have much competition for the top place. Warren Buffet of Berkshire Hathway has also retained the second place (net worth $39 billion), though his fortune decreased by $6 [...] ...
More than 100 studies have now found that the most engaged employees — those who report they’re fully invested in their jobs and committed to their employers — are significantly more productive, drive higher customer satisfaction and outperform those who are less engaged. But only 20 percent of employees around the world report that they’re fully [...] ...
Microsoft has officially released the developer preview version of Windows 8 during the BUILD developer conference. The Windows Developer Preview is a pre-beta version of Windows 8 for developers, and thus is not suitable for those looking for stable or intending to run on production system, as the downloads include prerelease software that may change [...] ...
A code sample is worth a thousand words. Here are a few projects to take a look at that go beyond just code snippets to show you how to put key technologies together in the form ofsample applications. (Note, if you are looking for just code snippets and focused codesamples, you can check out the Microsoft [...] ...
Jean-Phillippe Courtois, the President of Microsoft International, has written a guest post about Cloud security on the Viewpoints blog. You should read it if you’re at all interested in the framework for security and compliance of Cloud services – it delves into the Microsoft Cloud offerings, and the security framework we have had to build [...] ...
Here’s a stored procedure named, SearchAndReplace, that searches through all the character columns of all tables in the current database, and replaces the given string with another user provided string. It accepts a search string and a replace string as input parameters, goes and searches all char, varchar, nchar, nvarchar columns of all tables (only [...] ...
If you are working with VS 2010 (any Edition) and cannot open your 2010 solution on VS 2008 then just follow these 3 Steps: For <PROJECT_NAME>.sln: 1. Open the solution file in your favorite text editor (ex: notepad++). 2. Find the Following: Microsoft Visual Studio Solution File, Format Version 11.00. # Visual Studio 2010. Replace [...] ...
Assuming we are comparing tables A and B, and the primary key of both tables is ID: SELECT MIN(TableName) as TableName, ID, COL1, COL2, COL3 … FROM ( SELECT ‘Table A’ as TableName, A.ID, A.COL1, A.COL2, A.COL3, … FROM A UNION ALL SELECT ‘Table B’ as TableName, B.ID, B.COL1, B.COl2, B.COL3, … FROM B ) tmp [...] ...
You might have occasion where you want to discover who finished second, the 10th most popular rock song, or the 5th highest paid employee. This is trival using nested TOP statements, but those can get pretty heavy if you are trying to get row 5,199,245 CREATE TABLE Employees ( EmployeeID INT IDENTITY(1, 1) PRIMARY KEY CLUSTERED, [...] ...