I use VB 2005 Pro v8.0.50727.42
I use datadesigner to manage my dataset. In my form, I dragged a datagridview of one of my tables. It has a date column. In the property pane for the date column, there is a defaultvalue which is set to <dbnull>. How do I set it so that the defaultvalue is the current date?
I tried changing <dbnull> to...
1. <Date> 'does not do the job.
2. <Date(Now())> 'no luck
3. <Now()> 'still nothing
What should I put in the defaultvalue property so that the column's defaultvalue will be the date today? Or is this possible?
I use datadesigner to manage my dataset. In my form, I dragged a datagridview of one of my tables. It has a date column. In the property pane for the date column, there is a defaultvalue which is set to <dbnull>. How do I set it so that the defaultvalue is the current date?
I tried changing <dbnull> to...
1. <Date> 'does not do the job.
2. <Date(Now())> 'no luck
3. <Now()> 'still nothing
What should I put in the defaultvalue property so that the column's defaultvalue will be the date today? Or is this possible?
Comment