Extention method to convert list to a observable Collection public static class CollectionExtensions { public static ObservableCollection ToObservableCollection(this IEnumerable coll) { var c = new ObservableCollection(); foreach (var e in coll) c.Add(e); return c; } }

ඔබ තරම් පෙම් කල කිසිවෙක් නැති තරම් මේ ලෝකයෙ කොහෙවත් ඔබට මං ආදරෙ බව මෙතරම් වැටහුනේ ඔබ වෙන්වි ගිය දා ඔය නෙතු හැඬ වූ තරම් ඔබ පෙම් කෙරූ තරම් අදහන්නත් බෑ කොහෙ තිබුණාදැයි මේ තරම් ආදරේ... මේ තරම් ආදරේ රැය පුරා ඉකිගසා රතට හැරී දෙනුවන් පුර මල් සිනා මැවෙනවා ගිලන්වී හද පාරලා ආයෙත් ඔබ මට හිමිවෙයි නම් ආත්මයෙන් ඔබ අදහන්නම් ...

Happiness is my birthright. I forgive myself for all of my mistakes--and celebrate the lessons they let me learn. I am enough. What other people think of me is none of my business. When in doubt, breathe. Source http://spoiledyogi.blogspot.com/

Dealing with Tragedy - Really good, valuable blog post from Spoiled Yogi.(http://spoiledyogi.blogspot.com/) This teaches us many things about the life. I watched the news coverage in horror last week. Like most of the country, I was stunned and confused. How could anyone harm children as young as the victims in the school shooting in Connecticut? My mind raced as the ...

I had to install a magento extension using FTP recently. These 2 blog posts helped me immensely regarding that. http://www.aschroder.com/2010/05/installing-a-magento-extension-manually-via-ftp-or-ssh/ http://www.groovecommerce.com/ecommerce-blog/magento/developer-toolbox-a-guide-for-installing-magento-extensions/ If you refer these two blogs I am sure you would be able to manually install an extension manually even though you are not a hardcore magento guy. Magento extensions are normally developed to insta

I have created a silverlight custom control which can be used to select date in a user friendly way. It is similar to date selector control available to set birth date in facebook registration. Standard date picker control in silverlight and WPF is not user friendly and user has to perform several clicks to select a date. This control is ...

I wanted to encrypt some sensitive data in a Silverlight application and decry pt that in the server. Sergey Barskiy's has written a good post about that. Here is the code. Encryption functionality using System; using System.Text; using System.Security.Cryptography; using System.IO; namespace Encryption { public static class EncryptionUtility { /// /// Encrypt the data /// /// String to encrypt /// ...

This is the simplest way of adding a checked box column to a data grid in silver light and iterate through the values to determine which values are checked. The code is straight forward. <data:DataGrid x:Name="gridActivityList" Margin="0" AutoGenerateColumns="False"> <data:DataGrid.Columns> <data:DataGridTextColumn x:Name="Activity" Binding="{Binding ActivityName}" Header="Activity" Width="200"/> <data:DataGridTemplateColumn> <data:DataGridTemplateColumn.CellTemplate> <DataT

In MySql you will run into trouble when you try to execute a query if you have a reserved keyword as a column name. As an example let's take "update google_mapping set Open_Market='N' where Group='Taiwan';. Group is a reserved keyword in MySql. Solution is to surround keyword with ``. So in the above example you have to modify the query ...

Esoteric programming language - Wikipedia, the free encyclopediaEscoteric programming languages! Well I heard about them today for the first time. These programming languages are not used in real world programming. They have mainly used to test the boundaries of computer programming language design, as a joke and as a prof of concept by hackers and hobbyists . You can find ...

David Parnas - Wikipedia, the free encyclopediaRecently I heard that David Parnas is considered as the father of modern day Software Engineering. . Geez, I am in the Software Engineering field all these years with out knowing the father of Software Engineering. ;) He has published many papers regarding Software Architecture.

Main Fundamental concepts of Object Oriented Programming are 1. Data Abstraction 2. Encapsulation 3. Polymorphism 4. Inheritance1. Data Abstraction - Process of Grouping together fields and methods and defining classes. 2.Data Encapsulation - Hiding the implementation details. Provides a barrier to prevent misuse. 3.Inheritance - Receiving responsibility of parents. 4. Polymorphism - Ability to substitute a one type for another ...

Huawei USB modem didn't work in my Windows Vista laptop. my2cent blog helped me to resolve the issue. :)You can download Huawei E220 Vista Firmware (v11.110.05.00.00) from the link below.http://www.mobilebroadbandrocks.com/download/huawei-e220-vista-firmware-v11110050000As in the screen shot below shows Device manager should list Huawei in the Modems section if the device has been correctly install in the machine.

Google is the leader when it comes to search engines. With the google search engine here are some techniques to get various kind of usual information. # (site:) - Domain restricted search. Shows how many URLs are indexed by Google from a directory including all the sub domains. Also shows sites of specific top level domain. e.g; site:www.google.com, site: google.com, ...

Previous Page