Safari has inbuilt debug menu for java script. By default it is hidden. Safari’s “Debug” menu allows you to turn on the logging of JavaScript errors. To display the debug menu in Mac OS X, open a Terminal window and type:
defaults write com.apple.Safari IncludeDebugMenu 1
To display the debug menu in Safari 3.0 for [...]
Archive for July, 2007
Debugging JavaScript in MAC Safari / Tool to debug JavaScript in Safari
Posted in DotNet 2.0, Javascript, Techincal on July 30, 2007 | 2 Comments »
Session.SessionID is not unique
Posted in DotNet 2.0, Techincal on July 28, 2007 | 2 Comments »
I have seen many forums in which users are asking that Session.SessionID is not unique. You also have seen forums saying that “I am getting different value for SessionID on every page or in each post back.” Yes they are correct !!!! “This is not possible. How can it be?”, I know this is [...]
Dispose and Finalize in Dot Net OR Maemory Management using Dispose and Finalize
Posted in DotNet 2.0, Techincal on July 24, 2007 | 7 Comments »
Dotnet provides automatic memory managenet using Dispose and Fibnalize method. You will find this in classes that acquire and hold on to resources such as file and window handles or network and database connections. This is the case because the Common Language Runtime (CLR) within which your .NET code runs implements nondeterministic finalization, meaning that the [...]
Delete single row from duplicate rows in SQL Server 2005 and 2000
Posted in DotNet 2.0, Sql Server, Techincal on July 23, 2007 | 61 Comments »
Lets assume that you are using SQL Server 2005 for your current project. You found that you have few rows which have duplicate data in all the columns. Lets consider that you have table name “Example” which has two columns ID and Name.
CREATE TABLE [dbo].[Example]([ID] [int] NOT NULL,[Name] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL) ON [...]
Anonymous Type in C#
Posted in DotNet 3.0, Techincal on July 3, 2007 | 1 Comment »
Anonymous types are a convenient language feature of C# and VB that enable developers to concisely define inline CLR types within code, without having to explicitly define a formal class declaration of the type. Anonymous types are particularly useful when querying and transforming/projecting/shaping data with LINQ.
C# “Orcas” introduces a new var keyword that may be used [...]