views:

9

answers:

0

Hello,

When I create a dataset in VS 2008 and add a column named "Date" with DataType = System.DateTime and NullValue = 9999-12-31T23:59:59 this gets changed, when running the MSDataSetGenerator tool, in the designer file to

private static System.DateTime Date_nullValue = global::System.DateTime.Parse("12/31/9999 23:59:59");

This gives me parse errors when creating a new datarow as it tries to parse this with my current culture which isn't MM/dd/yyyy hh:mm:ss

This is not the case when using VS 2010 to create to designer file. Unfortunately this is not an option.

How can I make this work in VS 2008?