September 2005 - Posts

All about @
Published 09-30-2005 11:57 PM | jokiz
The @ (at) sign in .NET is used for verbatim strings. When you're tired of dealing with escape characters particularly for filenames, you make use of it: [code language="C#"] string filename = @"C:\joeycalisay\projects\" as compared to string filename...
Filed under: , ,
Default modifier in .NET
Published 09-30-2005 11:48 PM | jokiz
Obviously you already know that private is the default modifier in .NET. When you declare a field inside a class this way: [code language="C#"] public class Jokiz { int age; } [/code] the age field is private to the Jokiz class by default. Do you know...
Filed under: ,
HTML Widths and Webform TabOrder
Published 09-20-2005 8:30 PM | jokiz
Widget widths . I had bug yesterday related to setting widths of an HTML table. Since I do not a good background in HTML, I had a hard time finding it. I even aked help from our OJT to easily find it. Luckily, I'm the one who was able to spot it by intuition...
Filed under: , , ,
StringBuilder.AppendFormat
Published 09-13-2005 9:43 AM | jokiz
I was refactoring some of our codes yesterday when I bumped into a class used for reporting which is string concat intensive. Obviously, we should use the StringBuilder class due to " strings are immutable " (kind of cliche these days which should be...
Filed under: ,
sql profiler filter by workstation
Published 09-12-2005 10:55 AM | jokiz
i have been using profiler to easily monitor the commands being issued to our development database server. i haven't really read anything about it (aside from the autoscroll button post of the sql godess). i wanted to just filter commands being issued...
Filed under: ,
Gmail does not allow executable attachments
Published 09-12-2005 8:25 AM | jokiz
i'm surprised to know just now that gmail does not allow compressed attachment files containing executables (sending and receiving). thumbs up for security, now i have to rename my installer files to a non-exe, :p...
Filed under: ,
C# Programmer's Cookbook
Published 09-06-2005 10:26 AM | jokiz
Last thursday, I attended Stanley Tan's session at Microsoft. I didn't expect him to repeat his demos and stuff last january techfest @ shangri-la. However, it was worth it because I have won an MSPress book (first time I won in a raffle). C# Programmer...
Filed under: ,