private void btnSave_Click(object sender, EventArgs e){ //DateTime datetimePicker1 = dtpOpened.Value; dtpOpened.Value = DateTime.Today;}
public DateTime OpenedDate { get; set; } private MainCaseBL(DataRow dr) : base(dr) {OpenedDate = dr.Field<DateTime>("OpenedDate");}
public static void Save(DateTime openedDate,...) {Database db = DatabaseFactory.CreateDatabase(); DbCommand dbCommand = db.GetStoredProcCommand("Case_Save"); db.AddInParameter(dbCommand, "@OpenedDate", DbType.DateTime); db.SetParameterValue(dbCommand, "@OpenedDate", openedDate);}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)