Posted February 21st, 2010 by Wesley
GotSharp is proudly presenting: GotSharp.Extensions!
GotSharp.Extensions is a .NET Class Library containing extension methods and utility classes. Right now, it contains only some extension methods for the System.String and System.IO.Stream classes, and the utility class Range (with implementations Int32Range and DateTimeRange). We will keep updating it however with new functionality. Feel free to give comment [...]
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);
[...]