devxlogo

November 3, 2005

Custom Web Controls Demystified, Part 1

hen ASP.NET was released in 2002, it gave Web developers a whole new design paradigm to work with; one that varied greatly from the classic Active Server Pages (ASP) that

Comparing Strings Properly in Java

The semantics of ==, with regards to string comparison in Java and C#, are totally different from each other. Suppose you have two strings?s1 and s2?and the following statment: //

Converting a String to a GUID

There is a simple way to convert a string, which is in the correct GUID format, into a GUID. Simply do the following: GUID GUID = (SqlGUID.Parse(s)).Value;