[Mono-list] MySQL / Firebird

Michael J. Ryan tracker1_lists@theroughnecks.com
Wed, 19 Nov 2003 13:33:30 -0700


Michael J. Ryan wrote:
>public static string ToData(DateTime subject) {
>	if (object.Equals(subject,null))
>		return "NULL";
>	else
>		return string.Format("{0:yyyy-MM-dd HH:mm:ss}",subject);
>}

this should be "'{0:yyyy-MM-dd HH:mm:ss}'" above.. my bad.. :)

-- 
Michael J. Ryan - tracker1(at)theroughnecks(dot)com - www.theroughnecks.net
icq: 4935386  -  AIM/AOL: azTracker1  -  Y!: azTracker1  -  MSN/Win: (email)