Archive for category Programming

How to Add an Icon to a Button Control in Silverlight from a Resource

This article discusses three methods for adding an image (or icon) to a Button control in Silverlight using XAML, where the ideal method is to declare it in a global stylesheet.

Silverlight

No Comments

Finding the Next Date for Day of Week

In this article, I discuss the problem of easily finding the next date for a particular date of the week and how I transitioned from a complicated solution to a more simplified version by using simple arithmetic. The solution is written in the C# programming language but the formula for making this calculation can be easily ported into any programming language, including T-SQL.

C#, JavaScript

2 Comments