Throw, but only ‘exceptional’ exceptions!

by Taoffi Nassar 10. July 2010 16:48
I find the Try/Catch mechanism fascinating! This is probably due to some events I lived in the (not so far) History! (see below) The thing is, when I see any of its related keywords: try, catch, finally and, specially, throw… I feel some kind of nervousness or unease! Unfortunately, for me,... [More]

Organize your MSDN Help Favorites

by Taoffi Nassar 18. March 2010 06:02
If you regularly use MSDN help (Visual Studio Documentation or MSSQL Server Books OnLine (BOL)) you may have noticed that it is not possible to sort or search the list of help favorites. Migrating these favorites to another machine is almost more painful! I suffered from these problems for a long ... [More]

Silverlight database to DataGrid, yet another approach- Part V

by Taoffi Nassar 26. February 2010 22:14
The data record (the ‘form’) As I mentioned in Part II, my proposed solution (aimed to transfer and communicate data between a Silverlight Client and the database server) is composed of the following schematic classes: Data level classes SilverDataTable Represents... [More]

Silverlight database to DataGrid, yet another approach- Part IV

by Taoffi Nassar 26. February 2010 20:26
Filtering database data As we have seen in Part III, the SQL Select statement is composed of the following parts: SELECT                 [field1], [field2],… [fieldn] FROM        &... [More]

Silverlight database to DataGrid, yet another approach- Part III

by Taoffi Nassar 9. February 2010 19:15
Sorting and filtering database records After having succeeded to display our server data into Silverlight DataGrid (see previous post), we will now continue the adventure to complete our solution with some useful and necessary features that Silverlight DataGrid originally proposes (for example, sor... [More]

Scrollable ComboBox

by Taoffi Nassar 19. January 2010 06:08
I am working on a new Silverlight user interface version of Simplesite.net and, as anyone can imagine, that involves a good dive into Silverlight as a ‘Line Of Business’ application technology. One of the problems I encountered was to make the Combo box control able to respond to Mouse ... [More]

Animating Silverlight control inside the HTML Page

by Taoffi Nassar 23. December 2009 03:27
Live demo .     A Silverlight control can communicate and interact with other HTML elements of the page on which it is placed. This is done by using the HtmlPage object (namespace System.Windows.Browser)   By using HtmlPage, you can have access to all HTML elements of the curre... [More]

Revealing object properties

by Taoffi Nassar 17. December 2009 07:26
System Attributes can be used to simply tag and retrieve object properties and methods in particular context. In my case here, I wanted to be able to know which properties are contained in objects in order to be able to dynamically assign or change their values using simple text entries in a databa... [More]

Invoking methods by name. A first approach

by Taoffi Nassar 10. December 2009 19:55
As many developers know, one of the interesting namespaces in .NET is System.Reflection. Here I try to use Reflection to invoke loaded assemblies’ methods by their names. This can be quite useful for applications like storing menu or button actions in a database and bringing them to life duri... [More]