I have GridView and I bind it whit ObjectDataSource . I try to add insertparameter like this
CheckBox chbton = (CheckBox)GridView1.FooterRow.FindControl("Ton");
ObjectDataSource1.InsertParameters["scanton"].Type = TypeCode.Boolean;
ObjectDataSource1.InsertParameters["scanton"].DefaultValue =chbton.Checked;
Is it possible to pass bool value in this insert parameter