J
Josh
Hi,
Im creating an in memory DataTable. I have a "dtCreated" column that I
want to be populated with the current date and time when a record is added.
I dont want to code this every time I add a record.
Is there a way to set the defaultValue of the column so that is always
inserts the current date time when a record is added.
I want this to work like a SQL Server column that has "getdate()" as the
default value.
Thanks in advance...
Im creating an in memory DataTable. I have a "dtCreated" column that I
want to be populated with the current date and time when a record is added.
I dont want to code this every time I add a record.
Is there a way to set the defaultValue of the column so that is always
inserts the current date time when a record is added.
I want this to work like a SQL Server column that has "getdate()" as the
default value.
Thanks in advance...