Posted January 27th, 2010 by Wesley
When I stumbled upon this error “parameter @columnName has no default value”, first thing I tried was Google, of course. When googling, I found lots of answers for this problem, but they all resulted in the following solutions:
Parameter name is different in the query and when declaring the parameter (wrong columnName, or wrong parameter assigned [...]
Tags: ado.net, DbCommand, nullable, OleDbCommand, prepared statement
Posted February 25th, 2009 by Wesley
I was looking for a way to add my own parsers to the PatternLayout class, and found following solution:
public class CustomPatternLayout : PatternLayout {
protected override PatternParser CreatePatternParser(string pattern) {
PatternParser parser = base.CreatePatternParser(pattern);
[...]
Posted September 25th, 2008 by Wesley
I encountered something weird yesterday evening. In a MaskedTextBox, I wanted to select the entire text when a user enters the box, using the SelectAll method in an Enter event handler. It didn’t work…
Fortunately, we have Google! After a quick search I found someone with the same problem and a solution. By simply invoking (and [...]