I have a ASP.Net DetailsView, bound to an EntityDataSource control. My EntitySet has a DateTime Property that I want to set to a default value of DateTime.Now I don't want to display this property on the DetailsView. I figure I could use an InsertParameter in my EntityDataSource, but don't know the syntax, or whether this is possible:
<InsertParameters>
<asp:Parameter DbType="DateTime2" DefaultValue="" />
</InsertParameters>
Am I taking the right approach?