tags:

views:

67

answers:

1

I need to insert a row with a DATE value. How do I set its default value to Now() or similar?

+1  A: 

Unfortunately, the only way to set the default value of a AccessDataSource parameter to something variable is in the code-behind:

myAccessDataSource.InsertParameters("date").DefaultValue = DateTime.Now
Chris Pebble