Posts tagged 'hints'
Websites and Web Projects
Apress – Pro ASP.NET 3.5 in C# 2008 Second Edition says: Websites and Web Projects Somewhat confusingly, Visual Studio offers two ways to create an ASP.NET-powered web application: • Project-based development: When you create a web project, Visual Studio generates a .csproj project file (assuming you...
Continue reading "Websites and Web Projects"
Number of open/active connections in ms sql server 2005
How to get total number of open/active connections in MS SQL Server 2005? SELECT DB_NAME(dbid) as 'Database Name' , COUNT (dbid) as 'Total Connections' FROM master.dbo.sysprocesses WITH (nolock) WHERE dbid > 0 GROUP BY dbid SELECT @@MAX_CONNECTIONS AS 'Max Allowed Connections' This shows the no of...
Continue reading "Number of open/active connections in ms sql server 2005"
Hint: Variables scope “Javascript”
All variables declared in a function are defined throughout the function var scope = "global"; function f( ) { alert(scope); // Displays "undefined", not "global" var scope = "local"; // Variable initialized here, but defined everywhere alert(scope); // Displays...
Continue reading "Hint: Variables scope “Javascript”"


