Category Archives: Technology

JavaScript + XML = AJAX

I just learned some basic AJAX last week. ^^; The reason why I learn AJAX is that I need to help my friend with some of her AJAX coding. Actually, I wanted to learn AJAX long time ago since it is a pretty interesting technique. But I’m just too lazy to pick it up. ^^; Because of that, I decided to go through the short introduction of AJAX at W3Schools. I find that the tutorial there is quite easy to understand and I think beginner should be able to pick it up quite easily. But you need to know JavaScript and server side programming (ie: PHP) before going through the tutorial since it is needed in AJAX. Happy learning!

Add Item Manually in DropDownList

In ASP.NET, we can bind the dropdownlist to a data source so that it can display the items dynamically. But one of the problem is that you can’t add the any new item such as “Select One” in the list. But here is the workaround for it:

<asp:DropDownList ID="ddlProducts" DataSourceID="SqlDataSource2" DataTextField="ProductName" runat="server" onDataBound="ddlProducts_DataBound">

protected void ddlProducts_DataBound(object sender, EventArgs e)
ddlProducts.Items.Insert(0, new ListItem("Select.......","-1"));

Screamyx Improved?!?!

In my previous post, I said that the speed of browsing and downloading is damn slow. But now, it seems that Screamyx is back to normal. Not only that, they also upgraded my line to 2mbps! But I think it is capped at 1mbps. My bittorrent speed is greatly improved, it is so fast that I can hardly believe!


I downloaded 5GB of files via torrent torrent in just 2 days. I definitely can do this previously. Currently, I’m damn happy with the speed. :D I just hope that TMnut will keep this going. Not sure whether my line at my hometown is upgraded or not. :/