Back to earth: DBNull and ConetxtMenuStrip target TreeView node

by Taoffi Nassar 29. July 2011 06:21
  It is time now to set concepts aside for some more practical problems! Last days, through the work on two different projects, I encountered DBNull twice, and faced a funny problem about locating the target TreeNode of a contextual menu! Let us start by the first one: DBNull in Silverlight... [More]

Learning from Nature: Towards a 'Nucleotidic' modeling - part I

by Taoffi Nassar 19. September 2010 00:05
      During several years, I worked on a DNA sequence-analysis software project where I learned about DNA structures and several DNA engineering techniques. (That is not to be confused with what is commonly called ‘genetic algorithms’ and ‘genetic programm... [More]

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 II

by Taoffi Nassar 5. February 2010 23:55
This is the second part on how to format/adapt data to be displayed in a Silverlight DataGrid in a way that allows the preservation of business logic.   Server side objects As we have seen, in part I, the server will prepare our data into the designed classes before transmitting it to the Si... [More]

Silverlight database to DataGrid, yet another approach- Part I

by Taoffi Nassar 4. February 2010 17:38
Introduction As I exposed in an earlier post, Database structure can be declined into the following hierarchy § A table § Containing rows § Containing data //(arranged into columns)   This schema cannot live without the following meta-data structure § Table definition... [More]

Html Content Viewer for Silverlight

by Taoffi Nassar 25. January 2010 04:57
In a previous post, I talked about a solution to manipulate (animate for example) the Silverlight control inside the hosting html page.   The reverse side of the problem (displaying html content inside a Silverlight control), is a requirement which comes out in the context of numerous web pro... [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]