Remove the spaces around the date:
SqlCommand cmd = new SqlCommand("insert into loginfo values('" + textBox1.Text + "', '" + dateTimePicker1.Value.ToShortDateString()+ "' ", con);
Try this if it still has problems :
dateTimePicker1.Value.ToString("yyyy-MM-dd")