Code Nuggets: A Side-effect of Using DropDownList AppendDataBoundItems With Databound Items

Picture this: You have a webform with two DropDownLists, both of them are databound to some data you get from a database. Now the first DropDownList’s selection determines the contents of the second dropdown. So you simply do a AutoPostBack = true for the first dropdown and populate the second dropdown in the handler function. [...]

Code Nuggets: Getting two SQL column values in a single column

Well this type of thing doesn’t come up very frequently (at least to me) and if you’re like me working on multiple databases it gets very frustrating when it does come up. Since I don’t use it very frequently, I tend to forget how to do it properly in the database system I am using [...]

(Tech)LifeDotCom

Though I moved from Blogger quite a while ago, but just for old times’ sake I had kept my account active. For those who are new to this blog, I maintained a blog at Blogger quite some time, which can still be found here. I have now decided to turn into the technical version of [...]

My Something Worthwhile…

Before coming to Singapore, when I was free in my last days in Karachi after leaving my job, I was involved for a while in the redesign of ApnaKarachi.com. A major part of the overhaul was the new section of ApnaKarachi Maps which provide street-level maps of the city of Karachi. I was in charge [...]

Elections, Selections?

After getting pretty much pissed off at Geo live streaming which I am simply starting to detest, I tried checking out the election results online. Pretty much to my horror, the first result on Google is about Politics of Yemen from Wikipedia. The second result is from some apparent “seer” who tries to predict future [...]

The 7th Up

The Windows Internet Explorer 7 has got to be one of the dumbest browser I have ever used. Yep, dumber than Konqueror or Safari. I mean, I just spent the last five minutes searching for the “History” button. I could not find it anywhere on the toolbars, nowhere on the menus, and as despair was [...]

Note to self (dynamic controls ASP .NET)

…when populating a dynamic control (such as a dropdownlist dynamically), keep in mind the states of the page. Add that population before the Page_Init event for it to work correctly…

Blogger Babes

It turns out Blogger beta isn’t a wasted effort at all! For one thing, you get the "dog" (looks to me so) replacing the B of the Blogger. I realized only today that using the beta is a privilege accorded only to a few lucky ones (I didnt notice because privileges are so natural for [...]

The Craze Beta

What is with everyone coming up with the beta editions of their offerings these days? Starting with Gmail Beta, we get Windows Live Mail Beta, Yahoo! Mail Beta, Yahoo! Photos Beta, Flickr Beta, and now, sweet Blogger goes beta too!
For many services, going beta just means getting AJAX-ified, with little or no improvement in features [...]

Sending mail with System.Web.Mail (.Net 1.1)

If you thought that it was a serious shortcoming that .Net framework 1.1 wasn’t able to send email through SMTP servers that used authentication, you are in grave ignorance. On the surface of it, yes, you cannot send an email with the standard System.Web.Mail.MailMessage class; but you can of course play tricks on the [...]