Category: #Programming

Could not execute stored procedure ‘master.dbo.sp_enable_sql_debug’

This morning I found this error when trying to debug a stored procedure from Visual Studio […]

SQL Server 2005 | Copy Database Diagrams

Next is the code to copy database diagrams from one database to another (tested on SQL […]

Convert String to GUID | Quickie

To convert a string to GUID you have to do the following: string text = “6937e459-f1bd-4a20-ab10-28ff0010c15b”; […]

Get a Double Random Number | Quick Tip

This is useful since the Random() object can only export a double number between 0.0 and […]

CSS | Hide Overflow Vertical Scrollbar

When you set a div style like this: div#tbl-container { width: 600px; overflow: auto; scrollbar-base-color:#ffeaff } […]

Set Negative and Zero Formatting in String.Format

Apart from setting the format you want the string to be shown, the format parameter in […]

Google Event Tracking Failing

We’ve been using Google Analytics events tracking starting from this year and they are very useful. […]

Response.End()

This is added after the text needed in the response stream is written using the Response.Write() […]

Reference Controls from MasterPage

Reference controls from a master page in a normal page

ASP.Net Menu Control Problem with IE8

When loading a website that utilises the asp:menu control, in the development machine it works fine […]