{[DATE] [nvarchar](40) NULL,}
{ dateTimePicker1.DataBindings.Clear(); dateTimePicker1.DataBindings.Add("Text", dv, "DATE"); }
{ cmd = new SqlCommand("insert into REGISTRY values(@CUSTUMER,@DATE)",con); cmd.Parameters.Add("@DATE", SqlDbType.NVarChar, 20); cmd.Parameters["@DATE"].Value = dateTimePicker1.Value; }
cmd.Parameters["@DATE"].Value = String.Format("dd-mm-yyyy",dateTimePicker1.Value);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)