Recently I knew a “new” method named ddlArea.Items.Insert. Here’s the story how we met Result of code snippet above: “All Area” item disappear from my dropdownlist, I guess binding dropdownlist with a new datasource replace all its item with new items. If I put ddlArea.Items.Add(myItem) after DataBinding call, myItem will be placed on the last […]
Continue Reading →Programatically Change Color Of An Element to Hexa Color Code
Changing color (ex: forecolor) of an element is actually easy. You only have to do this one line script But the weakness of this way is you can’t specify your personal color. Solution to this matter is we have to define our custom color (either in css file or by code) first and then use […]
Continue Reading →Convert SQL Multiple Left Join to LINQ
SQL Statement: Nowadays i often share my sense with Linq, and having some problem in it. One of them is converting simple SQL script above to Linq format. After some research finally I found what I need 🙂
Continue Reading →