I am using an EntityDataSource with a DetailsView.
How can I get one of the nullable boolean fields to default to 'checked' when inserting new items?
<asp:CheckBoxField DataField="MyBoolColumn" HeaderText="Bool" />
I have tried setting a default value in the DB, a default value in the properties of the entity and by setting a default value in the constructor of the Entity:
public partial class MyEntity
{
public MyEntity()
{
this._MyBoolColumn= true;
}