Este es mi codigo pero me da un error de convertir de fecha a hora , en mi base de datos esta de forma datetime no entiendo por que el error, espero me puedan ayudar, de antemano muchas gracias
string nombre = textBox2.Text;
string ap_paterno = textBox3.Text;
string ap_materno = textBox4.Text;
string velocidad = comboBox1.Text;
DateTime fecha_inicio = dateTimePicker1.Value.Date;
string calle = textBox5.Text;
string direccion_ip = textBox6.Text;
DateTime fecha_nac = dateTimePicker2.Value.Date;
string correo = textBox8.Text;
string estado = comboBox2.Text;
SqlConnection con = new SqlConnection("Data Source=.;Initial catalog=wirilespacos;Integrated Security=True");
con.Open();
string textocmd = "insert into clientes_wisp3" +
"(Matricula,Nombre,Ap_Paterno,Ap_Materno,Velocidad,Fecha_Inicio,Calle,estado,direccion_ip," +
"fecha_nac,numero_tel,correo,numero_tel_alter)" +
"values ('" + matricula + "','" + nombre + "','" + ap_paterno + "','" + ap_materno + "' " +
",'" + velocidad + "','" + fecha_inicio + "','" + calle + "','" + estado + "'" +
",'" + direccion_ip + "','" + dateTimePicker2.Value + "','" + numero_tel + "','" + correo + "'" +
",'" + numero_tel_alter + "')";
MessageBox.Show(textocmd);
SqlCommand cmd = new SqlCommand(textocmd, con);
cmd.ExecuteNonQuery();```