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)

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to