Getting Entity Framework to recognise the return type of a Stored Procedure that returns a #temp table

27 Sep 2013 .Net, C#, SQL, Stored Procedures, Visual Studio No Comments

I recently wanted to declare a table, insert data into it and then, depending on a variable passed in to the stored procedure (@i_bitCurrent), either return the contents of the table, or filter the contents with a Where clause and return them (3 options in total). The reason I wanted

Continue reading →

App Offline page that refreshes when the site is back online

08 Jul 2013 JQuery, Server 2008 No Comments

I created an app_offline.htm page to place in my site's folder while I was deploying a new version, but I didn't want to put a 'click this link to refresh' or a suggestion to refresh the page. That seemed to be pushing my problem onto the user.

I decided that jQuery

Continue reading →

Getting IE7 and below to use @media print{} css

28 Jun 2013 CSS, Internet Explorer, JQuery No Comments

My print css is defined in my main css file in @media print{...}. IE7 and below don't seem to understand this. Putting the css into another css file and using the conditional tags to add it to the head means that IE can apply the css, but how do I know

Continue reading →